Skip to content

A simple snake game using java FX snake eats apple and grows.

License

Notifications You must be signed in to change notification settings

JJudge0/Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

A personal project of which is a simple snake game using java FX.

Snake Game Main tasks:

The program should include the following: GamePanel,Apple,Snake,ScoreBoard,GameOver message;

GamePanel-- A grid of which houses the apple and snake along with a scoreboard.

Apple: Of which should be randomly generated on the grid.

Snake: Should grow everytime an apple is eaten by the snake.

ScoreBoard: Should display the score when a snake eats a apple.

GameOver: A gameover when the user dies by eating itself, crashing into border.

-----------------------------------------------------------Personal Project-----------------------------------------------

Contains 3 files called:

1) Game Frame file.

2) Game Panel file.

3) Snake Game file.

Screenshots

image

Example

Going into the Game Over Message with Scoreboard:

image

Requirements 🔧

Java version 8 or higher.

Installation 🔌

1) Press the Fork button (top right the page) to save copy of this project on your account.

2) Download the repository files (project) from the download section or clone this project by typing in the bash the following command:

Import it in VS CODE or any other Java IDE.

Run the application :D

About

A simple snake game using java FX snake eats apple and grows.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages