Inspiration
Coming from a board game loving house, we wanted to create an app for a game we love to play together. We put a twist on this to make it Bath themed, as we thought it would make a great ice breaker for new students.
What it does
The app is based on the card game Dobble. Each pair of cards has just one icon on that matches. The aim is to identify this icon before your opponent. This repeats until your opponent is out of cards, and the winner is the person with all the cards at the end.
How we built it
We used SpriteKit in Xcode to create the game. The app is coded in swift with data stored in a json. We used procreate, an iPad and an apple pencil to hand draw each icon.
Challenges we ran into
We had issues with including SwiftUI elements within a SpriteKit game, and as a result we weren't able to add the leaderboard and information panes. We also had an issue with the z position of the playing cards.
Accomplishments that we're proud of
We have a functional game.
What we learned
It's hard to code an app in 24 hours and we need sleep. We learnt that SpriteKit and SwiftUI don't play well together.
What's next for Bath Tubble
Different game modes, update the user interface and add game centre integration (and fix the z position issue).
Built With
- procreate
- sprite-kit
- swift
- swiftui
- xcode
Log in or sign up for Devpost to join the conversation.