Skip to content

Suhaniparmar/myproject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

myproject

tic-tac-toe game a simple console-based Tic-Tac-Toe game that allows two players to play against each other It can perform following task : Game Board: Create a 3x3 grid as the game board. Players: Assign "X" and "O" to two players. Display Board: Show the current state of the board. Player Input: Prompt the current player to enter their move. Update Board: Update the game board with the player's move. Check for Win: Check if the current player has won. Check for Draw: Determine if the game is a draw. Switch Players: Alternate turns between "X" and "O" players. Display Result: Show the result of the game (win, draw, or ongoing). Play Again: Ask if the players want to play another game.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages