⭐Please star the repository if you happen to like the project
The code is an implementation of Will Hero Game (originally developed by Z Play games) using Java, JavaFX and OOP concepts.
Initial Main Menu allows the user to Play the Game and View saved Games
In the Game Orcs, Obstacles and Treasure Chests arrive as the game progress.
The Game supports 2 weapons:-
The weapons kill the Orcs on hitting it.
Anytime the user falls down below a certain level he needs to resurrect using coin or has to start a new game if he fails to do so.
After completing 100 steps the hero fights the boss.
Defeating the boss makes the hero win the game.
The game has various features including :-
Different themes/backgrounds 🏞️
Multiple game states can be saved and reloaded
This uses serialization and deserialization concepts. Navigation in the game is done via FXML files, some of which are made using Scene Builder.
Design Patterns Used
Facade Design Pattern
Factory Design Patterns