This is a terminal-based Tic-Tac-Toe game built in C++. This is my first project so it is a bit rough around the edges, but it is fully playable.
You can play a standard 2-player game locally in the terminal.
The main flex: What makes this different from standard beginner projects is that it has a completely bulletproof input system. It catches invalid moves, prevents out-of-bounds errors on the 3x3 grid, and accurately calculates wins across all rows, columns, and diagonals without crashing.
You need the following pre-installed on your system:
- A terminal
g++(C++ compiler)
Drop these commands in your terminal to run the game:
Step 1. Clone the repo:
git clone github.com/Amorphous7473/Tic-Tac-Toe-cliStep 2. CD into the repo:
cd Terminal-Tic-Tac-Toe-cliStep 3. Compile and run the program:
g++ ttt.cpp -o main && ./mainThank you.