hexadeciman/Snake

Code addition.

Opened this issue · 1 comments

Hello , your game is great! I added a menu frame and some features in your game as part of a university project.I'will enlist the new features below if you are interested i can make a PR :)
Features :
1)Added menu frame when the game starts
2)The game has a global music playing that you can mute from menu frame
3)Sound effects when the snake eats food or when you lose
4)Added 4 difficulties that you can choose from that change the speed (Easy-Medium-Hard and Escalating)[preset speed is easy if none is chosen]
5)When you lose a JOptionPane is displayed that shows you asks you if you want to play again or go to menu
6)At this JOptionPane a highscore is displayed and if you did better your score is set as a highscore
7)At the main frame of the game where you are playing i added a JMenuBar for the score to be displayed
8)At the menu frame you have a button to see the leaderboard all scores without duplicates
9)At the menu frame you also have an option to clear leaderboard or clear highscore
10)At the menu there is an about button on the MenuBar that displays the JDK version
11)Also i added a scoring system depending on difficulty (i tried for it to be as fair as possible to reward those who play at harder mode,escalating mode is using a multiplier depending on what speed you are currently playing)
12)Last but not least i stylized the game on different colors (.ORANGE .BLUE .lightgray)

hello, I'm interested on your updates can you send me the code please
@manolasn