Skip to content

HadeerElnagdy/Java-TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

118 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToe Game

Overview

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.

Client Application Modes:

  • 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.

Server Application:

The server application plays a crucial role by:

  • Handling user requests.
  • Managing user data in a database.
  • Facilitating data exchange between users.

Team Members

Acknowledgments

  • 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.

Features

  • 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.

Prerequisites

Ensure you have Java Development Kit (JDK) version 1.8.12 installed on your machine.

How to Play

  1. Clone the repository to your local machine.
    git clone https://github.com/HadirElnagdy/Java-TicTacToe.git
  2. Open the client and server projects using the NetBeans IDE.
  3. Add the gson JAR file and JavaDB library to your project for proper execution.
  4. Run the TicTacToeServer project first. Ensure it is in the running state.
  5. Click the "On" button to activate the server.
  6. Run the TicTacToeClient project.
  7. Choose your preferred playing mode and enjoy the game.

Contributing

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors