Contact: tobysurtees@gmail.com
- Introduction.
- Initial Notes on Code.
- Initial Notes on Structure.
- Diagrams.
- Coding Conventions.
- Development Notes.
- Changelog.
- Testing Methods & User Tests.
- JavaDoc.
- Code.
This project is a simple Snake game. The user controls a snake where the aim is to eat fruit to gain points and grow the snakes length. You can't hit yourself, the border walls, or the red walls, as this will end the game. The goal is high score.
How to run the game:
- Fork and Download the entire project.
- Launch IntelliJ, Click import and select the project folder.
- Navigate to the SnakeMain Class.
- Click the Green Arrow next to the class name to play the game.
- If you get an error finding the highScore.txt, you will have to change the file path in leaderboardScene and SnakeView to the correct path for your computer, as this depends on where you stored the file on your system.
- You will be greeted by a main menu, click start.
- If you want to change any settings, click settings, then click back when you are done.
- If you want to view the leaderboard, click leaderboard, then click back when you are done.
- Next you will see a map select screen, select the map you want to play on and click start game.
- Now you will be in the game, use WSAD or Arrow Keys to move the snake.
- You must avoid the RED WALLS.
- You should try to COLLECT FRUIT to EARN POINTS.
- Golden apples grant bonus points.
- Rotten apples take away points.
- You must not exceed the SCREEN BOUNDARIES.
- You can PRESS ESCAPE "ESC" to pause the game at any time.
- The snake will get faster as your score increases.
- The aim of the game is to get as many points as possible before you die.
- After the game ends;
- If you wish to restart, click restart.
- If you wish to go back to the main menu, click main menu.
- If you wish to record your score, type your username and click confirm.
- Remember to HAVE FUN!