This is a demo project for the ProgSoc Git Workshop.
The code used here was copied from this blog post: https://jamesinkala.com/blog/creating-a-tic-tac-toe-nodejs-game/
You need to have nodejs installed in your system. Switch to the projects directory and
$ node index.js
The game automatically assigns names and characters ('X' and 'O') to the two players. On prompt provide the position to place your next character in the range of 1-9. Positions are counted from left to right, top to bottom:
1 | 2 | 3 |
4 | 5 | 6 |
7 | 8 | 9 |