Tic-Tac-Toe is the game made with React. It has two pages and a few components. On the firste page you can choose type of the game (play alone or in two). After choosing you will be redirected to the game. Game containes following functions:
- Player click
- Change status of the player
- Check the winner
- Set the winner
- Reset game
- Undo the move
- Update result
- autoplay (if you play alone)
Please be aware that this structure was created with Vite. After you download and unzip it, install npm (npm install), and install dependencies if you need them. You can run localy with "npm run dev".