Inspiration
Inspired by Ecosia, we want to create an app that will allow people to donate money by playing games on their computers.
We're also inspired by a video game in our childhood called (Dinosaur King)[https://en.wikipedia.org/wiki/Dinosaur_King]
What it does
Gacha4Good is a platform of gacha games that will donate its profit to select charities. The platform will host many mini-games inside it, but we just build the first game in this hackathon: Boxer King.
In Boxer King, players can collect Boxer Cards which will be used to play the game. The player will select one card to be played in a match. These Boxer Cards have health points and attack points, and at each round, they will do rock-paper-scissors to decide who gets to attack until one of the players runs out of health.
When a player wins a game, they will be rewarded with coins which they can use to buy Boxer Pack in order to collect new Boxer Cards. Players can have their Boxer Card collection in inventory. They can also buy coins using real money through our PayPal integration.
How we built it
Frontend: React, Material UI, Apollo Client, GraphQL Backend: TypeScript, MongoDB, Apollo Server, PayPal API
Challenges we ran into
- Real-time multiplayer game: we initially want to make the game multiplayer online using GraphQL subscription but we didn't have enough time, so we pivot to finishing an offline version of Boxer King for this hackathon.
- Payment integration: we initially want to use stripe API to automate payment and transaction, but since it takes 3 days to verify the stripe account, we had to adapt to manual order fulfillment using PayPal API.
What's next for Gacha4Good
- Add more mini games
- Improve UI
- Work on real-time multiplayer game
- automate coin purchase fulfilment
Built With
- graphql
- react
- typescript
Log in or sign up for Devpost to join the conversation.