Skip to content

"I developed a simple and fun snake game in Java. Control the snake to eat the food and try to achieve the highest score."

Notifications You must be signed in to change notification settings

tahaburaksahin/Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tS8+OK pGGGb8

Snake Game

This is a simple implementation of the classic Snake game in Java.

How to Play

  • 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!

Getting Started

To run the game, you need to have Java installed on your system. Then, follow these steps:

  1. Open the jar file and enyoj it.

Controls

  • Up Arrow: Move the snake up.
  • Down Arrow: Move the snake down.
  • Left Arrow: Move the snake left.
  • Right Arrow: Move the snake right.

Features

  • Simple and intuitive controls.
  • Basic collision detection.
  • Score tracking.

Future Improvements

  • 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.

About

"I developed a simple and fun snake game in Java. Control the snake to eat the food and try to achieve the highest score."

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages