Give Garden: Integrating Donations into a Game Using Pledge
This is a submission for Weekend Challenge: Generosity Edition What I Built When I read about the generosity theme, I immediately thought of integrating donations as a feature into an app or rather a game . But given the complexities of managing funds as well as the weekend time limit, I thought it was impossible. So then I researched platforms that could act as the middleman. One that would…
This submission for Weekend Challenge: Generosity Edition describes the game Give Garden, a card game where players collect plants and trees to create a garden. The game features a variety of plants with different rarity levels, from common to legendary. Players use these cards strategically to place them in their garden grid and generate game currency called Blessings.
The integration of donations into the game is a key feature. Donors can use the Pledge platform to make donations to various charities, which are then processed and tax-deductible receipts are automatically sent to the donors. In return, donors receive premium spins in the game, allowing them to collect rare and legendary cards. These spins are available for animal charities, which correspond to the Animals cause group in the game.
The game is built using Next.js, Clerk, Neon, and Drizzle, and runs on Pledge's sandbox environment for testing purposes. Donors can make donations using a Pledge widget form, and their donations are processed directly by Pledge's intermediary, the Pledgeling Foundation. The game also includes a leaderboard to compete with other players and a demo version available at https://give-garden.vercel.app/.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.