A simple command-line Tic-Tac-Toe game implemented in C.
- Two-player gameplay
- Simple command-line interface
- Input validation to ensure valid moves
- Clear display of the game board after each move
Clone the repository:
git clone https://github.com/IsmailTekin05/TicTacToe-in-C-.git
Navigate to the project directory:
cd TicTacToe-in-C-
Compile the source code using a C/C++ compiler:
g++ main.cpp -o TicTacToe
Run the compiled program:
./TicTacToe
Follow the on-screen prompts to play the game. Players take turns to enter their moves, and the game announces the winner or a draw when applicable.
Feel free to submit issues or pull requests to improve the project!
This project is open-source and available under the MIT License.