Tic Tac Toe Game This is a simple implementation of the classic Tic Tac Toe game in C++. It allows two players to play the game on the command line interface.
Features Command line interface for easy interaction. Two players can play alternatively. Checks for win or draw after each move. Simple and intuitive gameplay.
Requirements C++ compiler (Supporting C++11 or later) Terminal or command prompt for running the game
How to Run Clone this repository to your local machine: git clone https://github.com/Charudatta-rajput/TIK-TAK-TOE.git Navigate to the project directory: cd TIK-TAK-TOE Compile the source code using your C++ compiler. For example, using g++: css g++ -o TIK-TAK-TOE main.cpp Run the compiled executable: ./TIK-TAK-TOE
Follow the on-screen instructions to play the game. Gameplay The game is played on a 3x3 grid. Players take turns to mark a square with their respective symbols (X or O). The first player to get three of their symbols in a row (horizontally, vertically, or diagonally) wins the game. If all squares are filled and no player has three of their symbols in a row, the game is a draw.
Contributing Contributions are welcome! If you find any bugs or have ideas for improvements, feel free to open an issue or submit a pull request.
License This project is licensed under the MIT License.