Skip to content

Snake game implemented in Java using Swing for the graphical interface.

License

Notifications You must be signed in to change notification settings

otienogeoffrey812/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Snake Game

A simple Snake game implemented in Java using Swing for the graphical interface.

Table of Contents

Features

  • Classic Snake game with a graphical user interface.
  • Smooth controls for directing the snake.
  • Score tracking for each apple eaten.
  • Game pause screen with score.
  • Game over screen with the final score.

Requirements

  • Java Development Kit (JDK) installed on your machine.

Installation

Controls

  • Use arrow keys (Up, Down, Left, Right) to control the snake's direction.
  • Press space to pause or resume the game.
  • Press enter to start a new game.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

Snake game implemented in Java using Swing for the graphical interface.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages