Skip to content

tanduong/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe game

It has a board of 9 cells. And there are 2 players. Each player take turn to play. Who placed in 3 cells in a row, a collumn or a diagonal first win the game. If there is no more emplty cell and no winner yet, the game is draw.

If the the game has finished, prompt the user to play again.

Assume 2 players share the same computer.

[x] US 1: As a player, I start the game. (see the empty board rendered)

[x] US 2: As a player, I can play a move in my turn. And when I finished placing a move, the turn change to the other player. [x] US 3: As a player, I will know if the game is finished (there is a winner or it is a draw) If there is a winner, I should see a congration message. If the game is draw, I also see message. US 4: As a player, I will be promt to play a new game if the game is finished.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published