Snake is a classic arcade game originating in the 1970s which involves controlling a growing snake to consume food, and has remained a popular as time went on. I have made an adapted version of this snake game, introducing bombs, difficulties, customisable backgrounds, the ability to mute the music. While adding all these features, I have tried to keep the nostalgic feel of the classic snake arcade game.
- Unzip the downloaded file
- Open the file in IntelliJ
- Ensure that the project SDK version is openjdk-21*
- Open the main class and run it
*Check this by going into File -> Project Structure -> Project
- Once your game has loaded, enter your name and click save or enter
- Click start on the main menu
- Then select a difficulty
- Once you select a difficulty you will start the game
- The snake can be controlled with the arrow keys
- Collect food to increase snake size and score by 10
- In medium, bombs will decrease snakes size by 3
- In hard, bombs will end the game
- Be careful! bombs will move after every food eaten
- The settings menu can be accessed through the main menu
- You will find two backgrounds on this menu and a mute button
- These backgrounds can be switched by clicking them
- The music can be muted by pressing the speaker icon
- It can then be unmuted by pressing the image again
- There are three leaderboards, easy, medium and hard
- These can be sorted by clicking on the header of each column
- They display username and score
- Clicking once sorts by ascending
- Clicking twice sorts by descending
- Clicking again resets it
