Projects

Tick Tack Toe

2022·1 min read

Java
SocketIO
JavaFX
GitHub (opens in a new tab)

A networked Tic-Tac-Toe game in JavaFX, split into a server and a client application and built on the MVC pattern. The server keeps players and their game history in a MySQL database, and the two sides exchange JSON messages.

A networked Tic-Tac-Toe game in JavaFX, split into a server and a client application and built on the MVC pattern. The server keeps players and their game history in a MySQL database, and the two sides exchange JSON messages.

Description:#

A Network based Tic-Tac-Toe application that consists mainly of two applications server and client.

The game has a nice looking user interface.

The application is built mainly with javafx. The server has a mySQL-SERVER database that stores all the information about the players and games played.

The application is designed using the MVC pattern.

The communication between the server and the client in the game is done using json objects to make it easy to send and receive requests and responses.

Requirements to run the game:#

you will find the following files in Files/schema.#

mySql database with the player/game tables, you can customize the database info in the dbConnection class in order to fit your needs.

java JDK 8.02

mysql-connector-java-8.0.13

java-json

jackson-core-2.13.1

jackson-databind-2.13.1

com.fasterxml.jackson.databind

netbeans version 8.02

Main features :#

  • Nice looking User interface.

  • Register to the game.

  • server side validation.

  • play with computer.

  • updated list with full information about the registered players.

  • The ability to Chat with any player in the list.

  • The ability to play with any player in the list.

  • Updated list of the whole single and multi mode game history.

  • The ability to replay any previous game from the Matches list.

Demo#

Watch the video

More projects

  • Database Management System2022 · Bash
  • Akelney2022 · React
  • Simple Quiz App2021 · JavaScript
All projects