C++ compiler (e.g., g++) Command-line environment (e.g., Terminal on macOS/Linux or Command Prompt on Windows)
Clone this repository to your local machine:git clone https://github.com/Enigma_014/tic_tac_toe
Navigate to the project directory:
cd tic_tac_toe
Compile the program:
g++ main.cpp -o tic_tac_toe
Run the game:
./tic_tac_toe
Follow the on-screen instructions to play against the computer.
You are 'X,' and the computer is 'O.' Enter your move by specifying the row and column (e.g., "1 2" for the first row, second column). The computer will respond with its move, and the game continues. The game will end when there is a winner or a draw. The computer uses the MiniMax algorithm to determine its moves. This algorithm ensures that the computer always plays optimally and makes it impossible to beat. If you want to contribute to this project or have any suggestions, please feel free to create a pull request or open an issue on the GitHub repository. This project is licensed under the MIT License. See the LICENSE file for details. Inspired by the classic Tic-Tac-Toe game. MiniMax algorithm concept from artificial intelligence. Feel free to customize this README to include more details about your project, add screenshots, or provide additional information about the code structure and usage. A well-documented README helps others understand and use your project effectively.