Skip to content

Ali-Dalal/Java-Bubble-Breaks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Bubble Breaks Game

Bubble breaks is a Java 2D game build in using basics Java with swing library Java bubble breaks

The game comes with 3 different difficulties (Easy, Medium, Hard). it also support a custom game (set the size of the board and the number of colors)

Java Bubble Breaks difficulties

for counting the similar bubbles, flood fill algorithm is used with directions

                     Top
              Left  Center  Right
                    Bottom

Points calculation

the total score is calculated using the following formula: Points = number of bubbles * number of bubbles -1

At least you need 2 or more adjacent bubbles The game can be fully played using the console The buttons is only for representing the 2D array and each click the buttons array is redrawn,

The game also support multi save game, you can save your current game and continue your game later.

The game ends when no more similar adjacent bubbles found

About

A basic Java 2D bubble breaks game

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages