Cool bubble pop game in java!
This is based off of my solution to a usaco problem called mooyo mooyo. The way this game works is that you input two number separated by a space, i'e:
My program will use the first value to generate a grid of height 6 and width 10 (this value is constant). Cells marked by 0 are empty, while every other cell is a bubble of some color (1-9). My program finds all clusters of bubbles size 3 or bigger, and pops them, causing the bubbles above them to fall down.
The program then outputs the finished gameboard! I hope you like it!