A simple implementation of the classic Snake Game written in pure Java.
The project contains only two source files and is perfect for beginners learning logic, loops, and basic game development.
src/ โโโ Main.java โโโ SnakeGame.java README.md LICENSE screenshots/
Run using IDE
Import the project
Place both .java files in src/
Run Main.java
๐ฎ Controls
โฌ Up Arrow โ Move Up
โฌ Down Arrow โ Move Down
โฌ Left Arrow โ Move Left
โก Right Arrow โ Move Right
๐ Requirements
Java JDK 8+