Skip to content

A simple command-line Tic-Tac-Toe game implemented in C. Features two-player gameplay, input validation, and a clear game board display. Easy to compile and play!

License

Notifications You must be signed in to change notification settings

IsmailTekin05/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe in C

A simple command-line Tic-Tac-Toe game implemented in C.

Features

  • Two-player gameplay
  • Simple command-line interface
  • Input validation to ensure valid moves
  • Clear display of the game board after each move

Installation

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

Usage

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.

Contributing

Feel free to submit issues or pull requests to improve the project!

License

This project is open-source and available under the MIT License.

About

A simple command-line Tic-Tac-Toe game implemented in C. Features two-player gameplay, input validation, and a clear game board display. Easy to compile and play!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages