yhtyyar / SnakeGame

This project is a simple Snake game written in the Java programming language. The game includes controlling the snake, eating food, and increasing the length of the snake with each eaten food unit.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snake Game in Java

This project is a simple implementation of the classic Snake game in Java. The game allows the player to control the snake, eat food to grow, and avoid collisions with walls and its own body.

Features:

  • Control the snake using arrow keys.
  • Grow the snake's length by eating food.
  • End the game upon collision with the walls or the snake's body.
  • Simple yet engaging gameplay experience.

How to Play:

  • Use the arrow keys to change the direction of the snake.
  • Eat the red food squares to grow in length.
  • Avoid running into the walls or the snake itself.

Technologies Used:

  • Java
  • Java Swing for the graphical interface

Feel free to give it a try and enjoy the nostalgia of the classic Snake game in a Java implementation.

About

This project is a simple Snake game written in the Java programming language. The game includes controlling the snake, eating food, and increasing the length of the snake with each eaten food unit.


Languages

Language:Java 100.0%