Inspiration

Classic black and white puzzles have always fascinated me and I wanted to incorporate the same in a number game and hence Gobble which is like a classic black and white puzzle.

How is it played?

The aim of this game is to convert all your opponent's tiles to yours. One tile can be moved over another tile only if the value on both of them is the same. Your own tiles can be clubbed together to double it's value. The game continues till only one color tiles remain.

How we built it

Gobble was built using the Flutter framework. Firebase is used as the backend. I built a custom Dismissible widget for the tiles that can be moved in all the four directions.

Challenges we ran into

  1. The default Dismissible widget in flutter can listen to swipes either vertically or horizontally. This was a challange and I had build a custom Dismissible Widget with a custom direction property to listen to both vertical and horizontal swipes.
  2. I built the entire app for a mobile screen resolution and making it responsive was one of the other challanges which I could overcome with the responsive_framework.
  3. Listening to changes in the Online multiplayer mode. I could finally accomplish it by using the streams in Firestore.

Accomplishments that we're proud of

  1. Multiplayer functionality.
  2. Creating my custom Dismissible widget.

What we learned

  1. Custom widgets from an already existing Widget.
  2. Streams in Firebase firestore.

What's next for Gobble

I'll keep working on it to make it more challenging and accessible to all.

Built With

Share this project:

Updates