This is a frogger game project written in JavaFX for COMP2013 CW2, using some design patterns like MVC, Singleton and Factory, etc.
- Normal Game Screen - with frog drop water animation
- Start Screen
- Normal Game Screen - with time indicator for seconds left frogging arrived home last time
- Score Board Popup
- Help Popup
[G52SWM CW2] Frogger - Tianyi GAO
- IntelliJ
- JDK
- Open the folder of project directly in IntelliJ, then wait IntelliJ download denpendencies.
- Run
- For JDK 10 ONLY: You can launch the app either by running that
frogger.Main.main()
method inside IntelliJ via click Run -> Run 'Main()' (JDK 10 only). - For JDK 10 and later, run
mvn clean compile package exec:java
command.
- For JDK 10 ONLY: You can launch the app either by running that
- Test
Need Maven for unit test, run
mvn clean test
command.
- Javadoc for this project is published via Gitlab Pages on https://tianyigao.gitlab.io/frogger/
- Complied Javadoc is also provided inside
docs
directory of repository
- Version by tags in git
Trello board is used to manage development, in progress screenshot is provided.
This project once tried to use json to store level files, please refer to Commit: 9ce18920a8462d48479de300804cd65762be133e
Levels are store in MapLoader.java
with three levels now.
src
├── main
│ ├── java
│ │ └── frogger
│ │ ├── constant
│ │ ├── controller
│ │ ├── model
│ │ │ ├── info
│ │ │ └── selfMovable
│ │ └── util
│ │ ├── score
│ │ └── sound
│ └── resources
│ └── frogger
│ ├── css
│ ├── font
│ ├── image
│ │ ├── background
│ │ ├── frogger
│ │ ├── ground
│ │ └── water
│ ├── music
│ └── view
└── test
└── java
└── frogger
└── model
└── info
This project stores historical scores in user's home directory: ~/.frogger
.
Click Here for details about requirements of this project.
This project is modified from a Legacy one.
All assets (images & music) are derived from the internet, sources of assets are listed in ASSETS.
This project adopts MIT license.
Special thanks to:
- Song ZHANG for open source for his coursework last year, which help me set a goal and bring perfect template for this project.
- My girlfriend for taking care of my daily life and encouraging me during the month before due.