An adaptation of Stick-Hero, made using Java & JavaFX for the Advanced Programming course (Monsoon 2023) course at IIIT Delhi.
This project uses Maven and JavaFX to build the files, create executables and run the compiled code. It must be installed on your system.
For development:
- Run:
mvn clean javafx:run
- Build:
mvn clean compile package
- Clean:
mvn clean
- We have implemented Singleton (in
Cherry.class
) and Factory (inFactory.class
) design patterns in this project. - There is 20% chance for a cherry to spawn.
- There are automated Junit tests.
- Game provides a slot to save a game (i.e. progress).
- Game maintains a global high score.
- It deploys OOP concepts including runtime polymorphism, inheritance, serialization.
- Hold SPACE to extend the stick.
- Press UP and DOWN arrow to invert the hero avatar.
- Press ESCAPE to pause the game.
- Game has a auto-reviving feature if you have atleast 5 cherries.
- Himanshu Raj @rahisenpai
- Kirti Jain @kiwiikirtii