Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kadirkarabacak/xox
React XOX Game
https://github.com/kadirkarabacak/xox
Last synced: 3 days ago
JSON representation
React XOX Game
- Host: GitHub
- URL: https://github.com/kadirkarabacak/xox
- Owner: KadirKarabacak
- Created: 2023-12-11T20:55:59.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-21T23:39:25.000Z (about 1 year ago)
- Last Synced: 2024-12-01T14:16:56.824Z (2 months ago)
- Language: CSS
- Homepage: https://xox-game-kadir.netlify.app/
- Size: 16.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# XOX Game with React
#### The project is a XOX game defined by those who are waiting for you.#### I created the project entirely with CSS and React. For state checks, I created a dynamic structure by using useState and useEffect, which are the wonderful hooks that React offers us. The user interface and functionality are entirely my own and I tried to design them fully responsive.
### Gameplay and Algorithm ⏬
- Player "X" always starts the game.
- After each cell is clicked, the player changes, the cell becomes deactivated and the cell value is memorized.
- The same cell cannot be clicked more than once.
- The Replay button clears the cells for you and resets the player order.
- In case of each win, 1 point is added to the player's score.
- The first player to reach 5 points wins the game.
- After reaching 5 points, the scores are reset and the game starts from the beginning.In order to be able to play the Project / Game without installation ⏬
XOX Game