Skip to content

Hadeel-Abdaljalil/Tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Tic Tac Toe Game

Welcome to the Tic Tac Toe game!

How to play

Player 1 chooses a number, and the corresponding cell is marked with an 'X'.

Player 2 chooses a number, and the corresponding cell is marked with an 'O'.

RULES

-Players take turns making a move by choosing a number corresponding to an empty cell on the grid. The game starts with an empty grid, and players alternate turns. Once a cell is marked, it cannot be changed or overwritten by the other player.

-A player wins by having three of their symbols in a row, either horizontally, vertically, or diagonally. The game ends as soon as one player achieves this goal. If the entire grid is filled without either player getting three in a row, the game is a draw.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages