Giter Site home page Giter Site logo

snake's People

Contributors

hexadeciman avatar surangie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

snake's Issues

Code addition.

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)

Doesn't work on Ubuttu 22.10

I don't actually know if it works on other versions of distros but it gives an error says: No X11 DISPLAY variable was set. I'm not familiar with java but i think it can not find the correct stuff for the gui. You may wanna check it if it's important for you. Good job btw.

Code addition

Hi, I have taken an interest in the project and would like to contribute.
I think a night mode, a way to increase the difficulty of the game and a game over screen would be great to have.

Code addition

Hi, I really like this project and would like to contribute to it as well.

There is three enhancement that I would like to add to this project which are the size of the window, amount of food in the game, and the direction of the snake will be reversed. Thank you very much!

Snake body glitch

Each time a new game is run, part of the snake's body block is somewhere randomly on the screen. Screenshot attached below.
screen shot 2019-01-23 at 00 58 51

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.