Skip to content

SkyInfra/Snake-Game-Java-Swing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ Snake Game โ€“ Java Swing

๐Ÿ“Œ Overview

A GUI-based Snake Game developed using Java Swing and Object-Oriented Programming concepts.
The game features multiple maps, difficulty levels, dynamic speed increase, and a persistent leaderboard system.


๐ŸŽฎ Features

  • ๐ŸŒฒ Multiple Maps (Forest, Desert, Snow)
  • โšก Three Difficulty Levels
  • ๐Ÿš€ Dynamic Speed Scaling
  • ๐ŸŽ Booster Food Mechanism
  • ๐Ÿ’พ File-Based Leaderboard (Top 5 Scores)
  • ๐ŸŽจ Modern GUI Design

๐Ÿ›  Technologies Used

  • Java
  • Java Swing
  • OOP Principles (Encapsulation, Inheritance, Composition)
  • File Handling
  • Event Handling
  • Timer-based Game Loop

๐Ÿง  OOP Concepts Implemented

  • Abstract Classes
  • Inheritance
  • Composition
  • Enums
  • Collections Framework
  • Sorting with Comparator

๐Ÿš€ How to Run

  1. Clone the repository
  2. Open in any Java IDE (IntelliJ / Eclipse / VS Code)
  3. Run SnakeGame.java

๐Ÿ‘จโ€๐Ÿ’ป Authors

Haseeb Akhtar Syed Hamza Maaz Ullah Khan

About

A feature-rich Snake Game built using Java Swing and Object-Oriented Programming principles. Includes multiple maps, difficulty levels, dynamic speed scaling, booster food system, and file-based persistent leaderboard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages