A modern desktop version of the classic Dots and Boxes game built using JavaFX, with support for:
- Local Multiplayer
- Computer Opponent (3 difficulty levels)
- Facebook Login via Firebase
- Online play with Facebook Friends
- Polished UI and Sound Effects
🧠 Developed as part of a Software Group Project (B.Tech IT – Semester 4)
-
🎮 Game Modes
Play Locally: Two players on the same systemPlay with Computer: Solo mode with Easy, Medium, Hard difficultiesPlay Online: Connect with Facebook friends
-
🔐 Facebook Login
- Implemented using Facebook Developer & Firebase Authentication
-
🔊 Sound Effects
- Line drawn, box completed, button click, win/lose/tie
-
🧠 Computer Opponent
- Logic-based bot (not AI) with three strategies:
- Easy: Random moves
- Medium: Prioritize completing boxes
- Hard: Defensive and offensive move analysis
- Logic-based bot (not AI) with three strategies:
-
🖥️ Built With
- Java 17+
- JavaFX 22
- Firebase Admin SDK
- NanoHTTPD (for local redirect server)
- Gson for JSON handling
👉 Download the latest packaged game setup from:
🔗 Pixel Download Hub – GitHub Repository
- Java JDK 17 or higher
- Maven
- JavaFX SDK 22 (Download here)
git clone https://github.com/Kavi7605/dotsandboxes
cd dotsandboxes
mvn clean package
