Skip to content

SasankaDinith/SnakeGame-Application-with-JAVASwing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ Java Swing Snake Game

A classic Snake game built using Java Swing. Control the snake, eat food, and grow longer while avoiding collisions!

๐Ÿš€ Features

  • ๐ŸŽฎ Smooth keyboard controls
  • ๐ŸŽ Food spawning for score increments
  • ๐Ÿ“ Snake grows as it eats
  • โŒ Game over on self-collision
  • ๐Ÿ”„ Restart option after losing

๐ŸŽฎ How to Play

1. Use the arrow keys (โฌ†๏ธโฌ‡๏ธโฌ…๏ธโžก๏ธ) to move the snake.

2. Eat the food to grow longer and increase your score.

3. Avoid hitting the walls or yourself.

4. The game ends if you collide with yourself or the wall.

๐Ÿ“ž Contact

For any questions or suggestions, feel free to reach out:

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages