Skip to content
/ Snake Public

A classic Snake game implemented in Java. This project features basic gameplay mechanics where the player controls a snake to eat food, grow in length, and avoid collisions with walls or itself.

Notifications You must be signed in to change notification settings

AnnLvu/Snake

Repository files navigation

🐍Snake

The game 'Snake' is a classic arcade game where the player controls a snake, collecting food to increase its body length. The goal is to avoid collisions with the snake's own tail or the walls of the field.

📜Rules of the game

🎮Control: The player guides the snake's movement across the playing field using keyboard keys. The snake moves forward in the direction indicated by the player.

🍏Food collection: The snake needs to collect food presented on the playing field. Every time the snake consumes food, its length increases.

🚩Avoiding collisions: The player must prevent the snake from colliding with its own tail or the walls of the field. If the snake crashes into itself or the wall, the game ends.

Gameplay of Snake
Gameplay of Snake

💜Acknowledgments

  • JavaRush (for the opportunity to complete the project)

Ressources

https://javarush.com/projects/games/com.javarush.games.snake

About

A classic Snake game implemented in Java. This project features basic gameplay mechanics where the player controls a snake to eat food, grow in length, and avoid collisions with walls or itself.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages