Skip to content

UTKARSHJHA-2005/TIC-TAC-TOE-GAME

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TIC-TAC-TOE-GAME

Tic Tac Toe is a classic two-player game played on a 3x3 grid. The players, traditionally represented as "X" and "O," take turns marking empty cells in an attempt to have three of their symbols in a row, either horizontally, vertically, or diagonally.
The program consists of:

  1. The game is played on a 3x3 grid initially empty.
  2. Two players take turns to make their move. One player uses "X," and the other uses "O".
  3. Players alternate turns, placing their symbol in an empty cell of the grid during each turn.
  4. The game is won when one player successfully forms a line of three of their symbols in a row. Then it shows the Winner and invites for the new game if he/she is interested to play again.
  5. If the entire grid is filled, and no player has formed a winning line, the game is a draw and again the player is invited for the new game.

AUTHOR-Utkarsh Jha

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published