A simple snake game in java originaly forked by hexadeciman/Snake Using Threads and Java Swing to display the game. The code is well commented, if you have any questions or want to continue this project feel free to do so 👌
I did'nt compile it. Add all files to your IDE to develop or test the modified game by me (userado).
- Java runtime installed
- Compile it in your IDE
- Run it
- Start playing with the arrows keys
- If you lose, just close it and re-open it (I will add a restart button possibly)
- If on linux make sure you don't have a headless version of Java installed
- Otherwise check to make sure display environment variable is set
export DISPLAY=:0.0

