Skip to content

Charudatta-rajput/TIK-TAK-TOE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages