Our Java project revolves around bringing the beloved card game "Hearts" to life digitally. In Hearts, players strive to avoid collecting specific cards like hearts and the queen of spades while maneuvering to offload them onto opponents. This game offers a mix of strategy, anticipation, and luck, making it a timeless favorite among players. By embarking on this project, we aim to delve into the intricacies of game logic and user interface design, all in an effort to recreate the joy and challenge of playing Hearts in a virtual environment.
- Vince Tan Yueh Yang
- Jayden Teoh Jing Xiang
- Lim Jing Kai Joel
- Philip Leong Jun Hwa
- Wu Yekai
Please refer to this link to understand how Hearts is played, it can be abit complex but we trust that you will get it with ease!
- Compile the Java Code:
bash compile.bat
- Run the Game:
bash run.bat
Source code is in src/main/java/com/example
, sorry for nesting, JavaFX is weird!!!
For simple reference, we have visualize the graphical reprsentation of the interactions between classes using a sequence diagram. Note that interactions from the frontend has been excluded for clarity.
We also incorporated our UML below to aid in understanding our system architecture (classes, dependencies, inheritance etc.). Similar, details about the frontend has b
52A9
een abstracted for clarity.