Name: Japhia Loo Hyean-Shyn
ID: 20129351
Note: MacOS user, therefore there will be extra files when you unzip a file that was compressed by MacOS device. They will be named _MACOSX, please ignore them.
- Have IntelliJ installed on your device.
- Unzip the file named LooJaphia_IntelliJ_19.zip in the project folder located in the same directory as this README.md file.
- Launch IntelliJ and on the menu screen, click on open and select the file named LooJaphia_IntelliJ_19 in the same directory as this README.md file.
- After you select it, the project will appear.
- There will be two directories in the project, one being a _MACOSX folder, you can ignore that file.
- Click into the directory with the name LooJaphia_IntelliJ_19 and build the project.
- An error will pop up if you do not have the proper language level for the project but IntelliJ will resolve the error itself.
- Click on the run program button.
- Click load maven build files pop up on the bottom right of the screen.
- Run the game again.
- Enjoy the game!
"/COMP2042LooJaphia/javadocs/index.html"
- Added a menu scene to the game where user can set background color, choose difficulty and enter their name and button to log in and move to game scene.
- Difficulty levels to the game.
- Added permanent high-score list stored in file that the program will retrieve according to user playing.
- Added retry and menu button at the end of the game.
- Bug fixes for random values spawning when no cells have moved or merged.
- Bug fixes for values double merging values in a single move.
- Pop-up window for score when player runs out of moves in game.
- Bug fixes for cell overflowing out of the cell after hitting value 1024 and above.
- Added a logo to the game that will be visible when user launches the program.
All new features implemented are working properly to my knowledge.
- JUnit Testing : I did not have enough time to fully understand and implement JUnit test to my project as well as not being able to find meaningful tests to be done for this particular program as most of the methods require the game to be launched and tested logically.
- Move
- Check
- StartGame
- User
- Account
- Cell
- EndGame
- GameScene
- Main
- TextMaker
- Took a very long time to understand the code before being able to change or refactor anything.
- Was not able to run the program due to outdated version of intellij.
- Faced issues with writing user's name and high-score to file due to uncontrolled use of static variables.
- Had issues with compiling certain classes for JavaDocs as I did not know that non-public methods will not be generated by JavaDocs.