This Java-based TicTacToe game offers a rich set of features, including gameplay recording and online multiplayer modes. Players can engage in a classic 3x3 grid, taking turns to mark spaces and aiming to achieve three in a row for victory.
- One Player Mode: Challenge the computer for a solo gaming experience.
- Two Player Mode: Play locally with another player.
- Online Mode: Connect with players over the network for competitive matches.
The server application plays a crucial role by:
- Handling user requests.
- Managing user data in a database.
- Facilitating data exchange between users.
- Special thanks to Eng. Ahmed Mazen for his exemplary patience, unwavering support, and valuable guidance.
- Special appreciation to Eng. Yasmeen Hosny for her continuous support and insightful guidance.
- Two-player turn-based gameplay.
- 3x3 grid for marking spaces.
- Winner determination based on three in a row.
- Gameplay recording feature.
- Online multiplayer mode with a client-server architecture.
Ensure you have Java Development Kit (JDK) version 1.8.12 installed on your machine.
- Clone the repository to your local machine.
git clone https://github.com/HadirElnagdy/Java-TicTacToe.git
- Open the client and server projects using the NetBeans IDE.
- Add the gson JAR file and JavaDB library to your project for proper execution.
- Run the TicTacToeServer project first. Ensure it is in the running state.
- Click the "On" button to activate the server.
- Run the TicTacToeClient project.
- Choose your preferred playing mode and enjoy the game.
We welcome contributions to the project. If you have improvements, bug fixes, or additional features, feel free to fork the repository and submit a pull request.
Happy gaming!