A modern implementation of the classic Snake game built with Java Swing, featuring smooth graphics, animated snake eyes, and a gradient visual design.
- 🎮 Smooth Gameplay - Responsive controls with collision detection
- 👀 Animated Snake - Snake head with directional eyes that follow movement
- 🎨 Modern Graphics - Gradient effects, rounded corners, and grid background
- 📊 Score Tracking - Real-time score and snake length display
- 🔄 Restart Option - Quick restart with spacebar after game over
- ⌨️ Dual Controls - Arrow keys or WASD for movement
- 🚫 180° Turn Prevention - Snake cannot reverse direction instantly
| Key | Action |
|---|---|
| ↑ or W | Move Up |
| ↓ or S | Move Down |
| ← or A | Move Left |
| → or D | Move Right |
| SPACE | Restart Game (after Game Over) |
- Java Development Kit (JDK) 8 or higher
- Any Java IDE (IntelliJ IDEA, Eclipse, NetBeans) or command line