bamorim / tic_tac_toe

TicTacToe CLI game in Elixir (for a job interview xD)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TicTacToe

This is an implementation of a CLI-based TicTacToe game.

Building

To build it, you need:

  • Elixir
  • Erlang

Easiest way is to use asdf and install the versions defined in .tool-versions

Then you just do:

  • mix deps.get
  • mix escript.build

Running

After building, you should have an executable named tic_tac_toe which you can run with ./tic_tac_toe

Ensuring quality

This repository uses:

  • ExUnit for unit tests
  • Dialyzer for type checking

Before running tests or dialyzer, make sure you fetched dependencies with mix deps.get

To run all tests, just run mix test. To check types with dialyzer do mix dialyzer.

About

TicTacToe CLI game in Elixir (for a job interview xD)


Languages

Language:Elixir 100.0%