CLI tic-tac-toe client in C++
Grid for the game uses numbers (i.e. integers 1 - 9):
1--2--3
4--5--6
7--8--9
When console asks for your input, enter what spot to put your 'x' or 'o' in (1-9), according to this layout.
When console asks for your input, enter what spot to put your 'x' or 'o' in (1-9), according to this layout.
If you're using windows, open TicTacToe.sln in Visual Studio 2017/2019 and build the executable.
In the terminal, go to the directory holding the source code, and run the command:
make
then run the program by typing the command:
TicTacToe
Note: To execute TicTacToe from any directory, append this line to the end of your ~/.bashrc
file
export PATH=$PATH:/path/to/TicTacToe/TicTacToe