A strategic card game where players compete to move their marbles around the board using playing cards with special abilities.
Download the game files for the best experience: Download Game Files
Watch the gameplay demo: Gameplay Video
Jackaroo is a multiplayer card game that blends strategy with luck. Players use a special deck of cards to move their marbles around a themed board, each card enabling specific movement rules or actions.
- Multiplayer support for human and AI players
- Strategic, card-driven gameplay
- Unique card abilities for each rank
- Marble movement mechanics with zones (Safe/Home)
- Western-themed board and animations
- Wild West Story Mode: Immerse yourself in a narrative-driven campaign with themed scenarios and objectives
- Responsive and interactive user interface
- Draw and discard system
| Card | Ability |
|---|---|
| Ace | Field a marble from the Home Zone or move one marble 1 step forward |
| Two | Move one marble 2 steps forward |
| Three | Move one marble 3 steps forward |
| Four | Move one marble 4 steps backward |
| Five | Move any marble 5 steps forward |
| Six | Move one marble 6 steps forward |
| Seven | Move two marbles a total of 7 steps or one marble 7 steps forward |
| Eight | Move one marble 8 steps forward |
| Nine | Move one marble 9 steps forward |
| Ten | Discard a random card from next player or move 10 steps forward |
| Jack | Swap marbles or move 11 steps forward |
| Queen | Discard a random card from a random player or move 12 steps forward |
| King | Field a marble or move 13 steps forward (killing marbles in path) |
| Marble Burner | Send an opponent's marble home |
| Marble Saver | Move your marble to a random safe zone |
-
Extract zip file and open the project:
- Navigate to File > Open... and select the project directory.
- Ensure JDK 11 or higher is selected.
-
Set up JavaFX:
-
Download the JavaFX SDK from the Gluon JavaFX download page.
-
Extract the SDK.
-
Go to File > Project Structure... > Libraries and add the
libdirectory. -
Add VM options under Run > Edit Configurations...:
--module-path /path_to_javafx_lib --add-modules javafx.controls,javafx.fxml,javafx.media
-
-
Build and run:
- Build: Build > Build Project
- Run: Select the main class and click Run
-
Import zip file into Eclipse:
- Go to File > Import... > Existing Projects into Workspace
- Choose the zip directory
-
Set up JavaFX:
-
Follow the same JavaFX SDK setup as above
-
Go to Project > Properties > Java Build Path > Modulepath > Add External JARs... and add JARs from
lib -
Add VM options under Run > Run Configurations...:
--module-path /path_to_javafx_lib --add-modules javafx.controls,javafx.fxml,javafx.media
-
-
Build and run:
- Right-click project > Build Project
- Select the main class and click Run
- JavaFX: UI framework, required for visuals and media
- JDK 11 or higher: Required to build and run the project
(Refer to the Bro Code JavaFX Playlist for detailed JavaFX setup guidance.)
-
Launch the game and choose the number of players
-
Each player gets a hand of cards and a set of marbles
-
On each turn:
- Play a card
- Apply the card's movement rule
- Draw a new card
-
The winner is the first to move all marbles into the Safe Zone
- Mouse Click: Select cards, buttons, and interact with UI
- Marble Selection: Enter target cell index in "Select Marbles" panel
- F Key: Field a marble instantly (when playing Ace or King)
- X Key: Terminate the current game session
-
Java 23 for application logic
-
JavaFX:
- FXML layouts
- CSS styling
- MediaPlayer integration
- Animation and graphics APIs
-
MVC Architecture:
- Model: Game logic and state
- View: UI built with JavaFX
- Controller: Handles input and game flow
-
OOP Principles:
- Inheritance, polymorphism, encapsulation, abstraction
-
Exception Handling:
- Custom game errors
- Validation for moves and inputs
-
Concurrency:
- Multithreaded AI players
- Background task execution
-
Data Management:
- Game state serialization
- Configurations and player stats
-
Custom Controls:
- Card viewer
- Animated marble transitions
-
Effects:
- Card flips, marble kills
- Endgame animations
-
Responsive Design:
- Dynamic scaling and multi-resolution support
-
Strategic Planning:
- Risk evaluation
- Turn-based decision trees
-
Unit Testing with JUnit
-
Integration Testing for game flow and multiplayer
-
Performance Optimization:
- Efficient memory usage
- Smooth animations
We welcome community contributions! You can:
- Submit issues and bug reports
- Open Pull Requests with improvements
Please follow Java coding best practices and include documentation where needed.
Developed for CSEN401 at the German University in Cairo.
- Zeyad Ahmed Elsawi
- Mark Raymond Takla
- Jonathan Maged Daksis
- Aly Ahmed Aly
