Inspiration

This game is inspired by the game 2048, in which you combine tiles to get larger and larger numbers. This game uses bubbles instead of numbers for a whimsical edition of this game.

What it does

In this game, the player clicks the arrow buttons in order to make the bubbles move in a certain direction. Bubbles of the same size will combine if they are moved next to each other. When combined, the bubbles will make a new bubble with a different color and an increased size. The game is won when the largest bubble, with a star on it, is reached. If no more moves are possible, the game is lost.

How we built it

We built this game using Java and JavaFX.

Challenges we ran into

One challenge was figuring out the logic of sliding and merging the bubbles. It was tricky to get the bubbles to slide all the way to the edge of the screen when there was open space instead of always moving one space at a time. Another challenge was getting the bubbles to appear in the correct position on the screen while not keeping them within the confinement on the grid. As they get larger, we wanted to the bubbles to grow outside the lines for a playful unexpected element, but this made coding it more difficult.

Accomplishments that we're proud of

We are super proud that our game is fully functional and acts along the same rules as 2048. It has been very exciting to see the game come together throughout the hackathon.

What we learned

We learned more about using version history together as a team. We had to adapt in order to collaborate and combine our ideas and workflow.

What's next for Bubble Game

In the future, we would like to add the ability to control the game movements with the arrow keys on a computer, a score for the game to track progress, and a restart button to play again once the game is lost.

Built With

Share this project:

Updates