A repository which contains an old program which runs the 'Snake Game' built using Java Swing. This version of the snake game is updated to make the experience enjoyable for the player.
- Java JDK 17+
You can verify using:
javac --versionor
java --version- Arrow keys: move
- Game ends when the snake collides with the walls or its body
👉 Download the latest version:
Then run:
java -jar SnakeGame.jar