Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hadeel-abdeljalil/tic-tac-toe
https://github.com/hadeel-abdeljalil/tic-tac-toe
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hadeel-abdeljalil/tic-tac-toe
- Owner: Hadeel-Abdeljalil
- Created: 2023-12-14T19:50:21.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-17T22:47:34.000Z (about 1 year ago)
- Last Synced: 2024-02-16T23:38:37.359Z (11 months ago)
- Language: Dart
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.