NOTE: This topic has bugs in logic (making legal moves illegal) therefore rendering it unusable. It also has parts of its code missing (user auth) or obstructed. Use it only for inspiration.
CryBaby Chess is a two-player custom chess variant played simultaneously on two 12x12 boards, featuring a diverse set of custom pieces with unique abilities and movement rules. When a piece is captured on one board, the capturing player can redeploy it onto the other board. The objective is to capture the opponent’s king on either board.
Created by:
- Petar Hajduk (Topic responsible)
- Bernard Imbrović
- Gabrijela Perković
- Domagoj Marić
- Jakov Jakovac
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Before you begin, make sure your environment is set up to run the game. The following prerequisites will help you configure your system to run the server, agents, and visuals correctly.
-
Install Java 17+ and Maven (for server and logic)
-
Install an IDE with Live Server extension (for visuals)
-
Install required dependencies:
-
For logic and server:
cd logic ./mvnw install
-
-
Navigate to the
logicdirectory:cd logic -
Build and run the Spring Boot application (requires Java 17+ and Maven):
./mvnw spring-boot:run
If on Windows, use
mvnw.cmd spring-boot:run -
The backend will start on port 8081
- Open the project in your IDE (we recommend VS Code)
- Right-click on
visuals/index.html→ "Open with Live Server"- Live Server extension has to be installed
- The game visualization will open in your default browser
- The visuals auto-connect to the server on port 3000 once the server is running
