Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Latest commit

 

History

History
37 lines (29 loc) · 829 Bytes

README.md

File metadata and controls

37 lines (29 loc) · 829 Bytes

ProgSoc Git Workshop Demo

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/

instructions

You need to have nodejs installed in your system. Switch to the projects directory and

$ node index.js

game-play instructions

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