Skip to content

userado/Snake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Snake

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 👌

How original hexadeciman/Snake version looks:

alt tag

How you can support main author:

Buy Me A Coffee

How to run the project:

I did'nt compile it. Add all files to your IDE to develop or test the modified game by me (userado).

Requirements:

  • Java runtime installed

How to play the game:

  • 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)

Troubleshooting (No X11 DISPLAY variable was set):

  • 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

Mentions

Blog Posts:

Academia:

About

A simple snake game in java - Well documented

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 97.1%
  • Dockerfile 2.9%