Inspiration
I wanted to make a fun card game where people could use their Bitmojis to battle. Everyone loves seeing their Bitmoji do stuff, so I thought - why not make them react while playing cards? Plus, collecting shiny crystals just seemed like a cool idea!
What it does
Crystal Clash is a simple card game where you:
- Play cards with values 1-5
- Try to collect crystal fragments
- Win by either:
- Building one complete crystal
- Getting three different colored crystal sets
- Watch Bitmojis celebrate or get sad based on the game
- Battle other players in quick matches
How we built it
- Made the app with React Native + Expo
- Used Flask (Python) for the backend
- Set up PostgreSQL for the database
- Added Snapchat login for Bitmojis
- Planned to use websockets to make it multiplayer
Challenges we ran into
- Snapchat login was super frustrating to set up 😫
- Making the game real-time was trickier than expected
- Had to restart the Bitmoji integration several times
- Spent way too long debugging authentication issues
- First time using Flask with PostgreSQL - lots of googling!
Accomplishments that we're proud of
- Actually got Sign In with Apple working!
- Successfully managed Json Web Token on the client and backend
What we learned
- The importance of good error messages
- I learned that Snapchat requires an HTTPS redirect URI - this was super tricky in development because you usually work with localhost or non-HTTPS URLs.
What's next for Crystal Clash
- Adding more features:
- Crystal powers
- Special cards
- Friend challenges
- Leaderboard system
- More Bitmoji reactions
- Better matchmaking
- Maybe tournaments?
Built With
- flask
- javascript
- postgresql
- python
- reactnative