A command line tic-tac-toe game in Erlang https://github.com/charlesdaniel/ttt_erlang
308
My first attempt at an actual Erlang program, a simple tic tac toe game (player vs computer).
To run it simply run
docker run -it --rm charlesdaniel/ttt_erlang:latest
You'll be prompted to choose a position from 1-9 (the locations of a tic tac toe board). Enter a number and an X will be placed on that position. The computer will then place its O piece and it'll return back to the player to choose their next position.
Content type
Image
Digest
Size
9.5 MB
Last updated
over 8 years ago
docker pull charlesdaniel/ttt_erlang