Welcome to the coolest Tic-Tac-Toe game ever! This project combines the magic of Electron, React, and Express to deliver a sleek and modern version of the classic game we all know and love. Ready to dive in and have some fun?
- Gorgeous UI: Enjoy a beautifully designed interface with smooth animations and a dark green background reminiscent of a pool table.
- Interactive Gameplay: Play against a friend with intuitive controls and visual feedback.
- Score Tracking: Keep track of the wins for each player.
- Responsive Design: The game looks great on any screen size.
Follow these simple steps to get the game up and running on your local machine.
Make sure you have Node.js and npm installed on your system.
-
Clone the repository:
git clone https://github.com/dvlyon/qualisys-tictactoe.git cd qualisys-tictactoe
-
Install dependencies for both the Electron app and the server:
# In the root directory cd electron-app npm install cd ../server npm install
-
Start the Express server:
cd server node index.js
-
Start the Electron app:
cd ../electron-app npm start
-
Play the Game: The game window should pop up, and you're ready to start playing!
- Player X and Player O take turns clicking on the grid to place their marks.
- The first player to get three of their marks in a row (horizontally, vertically, or diagonally) wins.
- The game will track wins for both players.
- Click the "Reset Game" button to start a new round.
- Click the "Reset Wins" button to reset the score and start fresh.
Feel free to fork this repo, play around with the code, and make it your own. Have fun!
If you encounter any issues or have suggestions, feel free to open an issue or submit a pull request.
Happy gaming! ๐ฎ