https://github.com/msio414/ttt-game
A simple Tic-Tac-Toe game in C
https://github.com/msio414/ttt-game
c cprogramming game minimax minimax-algorithm tic-tac-toe tic-tac-toe-game tictactoe tictactoe-game
Last synced: 4 months ago
JSON representation
A simple Tic-Tac-Toe game in C
- Host: GitHub
- URL: https://github.com/msio414/ttt-game
- Owner: msio414
- License: mit
- Created: 2024-05-18T16:16:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-12T19:52:20.000Z (about 1 year ago)
- Last Synced: 2025-06-14T01:38:57.944Z (7 months ago)
- Topics: c, cprogramming, game, minimax, minimax-algorithm, tic-tac-toe, tic-tac-toe-game, tictactoe, tictactoe-game
- Language: C
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Basic C Tic Tac Toe Game
### This is a simple implementation of the Tic Tac Toe game in C.
- The game has both single player and multiplayer feature.
- The game board is initially filled with numbers.
- Players will be prompted to enter their moves by choosing a number from 1 to 9, corresponding to the grid cells.
- Player 1 marks with 'X', and Player 2 marks with 'O'.
- The game will display the updated game board after each move or ends when a player wins or when the grid is filled, resulting in a draw.
## How to Play
- Compile and run by executing the following command on your linux terminal :
- [ ] ``make``
- [ ] ``.\build\tictactoe.exe`` on windows
- [ ] ``./build/tictactoe`` on Linux