This is a simple implementation of the classic Snake game in Java.
- Use the arrow keys to control the movement of the snake.
- Eat the food (represented by '@') to grow the snake and earn points.
- Avoid colliding with the walls or the snake's own body.
- The game ends when the snake collides with a wall or itself.
- Try to achieve the highest score possible!
To run the game, you need to have Java installed on your system. Then, follow these steps:
- Open the jar file and enyoj it.
- Up Arrow: Move the snake up.
- Down Arrow: Move the snake down.
- Left Arrow: Move the snake left.
- Right Arrow: Move the snake right.
- Simple and intuitive controls.
- Basic collision detection.
- Score tracking.
- Implement levels with increasing difficulty.
- Add sound effects and background music.
- Incorporate graphical elements for a more immersive experience.
Feel free to contribute to the project by submitting pull requests or reporting issues.