Skip to content

This is a simple implementation of the classic Snake game using Java. The objective of the game is to control the snake and eat as much food as possible while avoiding collision with the snake's own body or the game's boundaries.

Notifications You must be signed in to change notification settings

Rachel2004/Java-Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Snake Game

Welcome to the Java Snake Game repository! This project implements the classic arcade game Snake, coded in Java. The player controls a snake that grows in length as it eats apples that appear randomly around the game area. The objective is to grow the snake as long as possible without running into the game's boundaries or the snake's tail.

Features

  • Classic gameplay mechanics
  • Smooth snake movement and controls
  • Increasing difficulty as the snake grows
  • Score tracking
  • Simple and clean user interface

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

Gameplay

Gameplay Screenshot

Gameover

Gameover Screenshot

Don't forget to give the project a star! Thanks again!

About

This is a simple implementation of the classic Snake game using Java. The objective of the game is to control the snake and eat as much food as possible while avoiding collision with the snake's own body or the game's boundaries.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages