Skip to content

msio808/ttt-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Basic C Tic Tac Toe Game

This is a simple implementation of the classic Tic Tac Toe game in C.

How to Play

  • Compile and run by executing the following command on your linux terminal : ./run.sh
  • The game will display the initial empty game board.
  • 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.
  • The game will end when a player wins or when the grid is filled, resulting in a draw.