danielrzhang / hungry-snake

A parody of the popular arcade game Snake.

Repository from Github https://github.comdanielrzhang/hungry-snakeRepository from Github https://github.comdanielrzhang/hungry-snake

Hungry Snake

Hungry Snake is an engaging recreation of the beloved arcade classic "Snake". In this game, you take control of a snake within a 20 x 20 game grid. Utilizing the arrow keys, navigate the snake around the grid, maneuvering it towards strawberries that periodically spawn. Each time your snake consumes a strawberry, your score increases, and your snake grows longer.

However, be careful! The longer your snake becomes, the more challenging it becomes to avoid self-collision and collisions with the walls of the game grid. A single misstep can end your game, so strategize your movements wisely to achieve the highest score possible.

How to Play

  • Use the arrow keys (up, down, left, right) to navigate your snake.
  • Guide your snake towards strawberries to consume them and increase your score.
  • Avoid colliding with the snake's own body or the walls of the game grid.
  • The game ends when your snake collides with itself or hits a wall.

Game Snapshots

Title Screen

Game Play

Editor

  • Coded with DrJava

Download

  • Click on the green download button labelled "Code".
  • Enter the dropdown menu and select "Download ZIP".
  • Once download is complete, extract the files from the ZIP File.

Dependencies

  • JDK 8

About

A parody of the popular arcade game Snake.


Languages

Language:Java 100.0%