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.
-
Notifications
You must be signed in to change notification settings - Fork 0
Suhaniparmar/myproject
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published