This is an academic project implementing the Quarto board game in Java using JavaFX for the user interface, TCP sockets for multiplayer communication, and MySQL for player statistics.
The system supports:
- Offline mode: Play against a computer opponent (AI)
- Online mode: Play against another player over a network, including real-time chat
- Java JDK 17 or higher
- JavaFX SDK
- MySQL Server
- Any Java-supporting IDE or command-line environment
-
Make sure you have:
- Java JDK 17 or higher installed
- JavaFX SDK configured in your classpath/module path
- MySQL Server running locally
-
Set up the MySQL Database:
- Create a MySQL database named
quarto_db - Run the script
quarto_db.sql - Set your DB credentials in
DBHelper.java
- Create a MySQL database named
-
To run:
- First launch
TCPServer.java(for online games) - Then launch
Main.javato start the game (offline or online)
- First launch

