About the Project
Inspiration
The core spark came from my brother, a little Nugget, who always stole my snacks. I realized: why not turn that playful feud into a quirky game? Hence Nuggets was born where you face off against a Nugget, risking side effects or “pseudo-deaths” each time you grab a dish.
What I Learned
- Reddit Custom Units & APIs: I dove into Reddit’s interactive post unit framework, integrating flair assignments and embedded polls directly into the post. This taught me how to work with Reddit’s OAuth flow, API rate limits, and real-time comment fetching.
- State Management in Vanilla JavaScript: To keep dependencies minimal, I built the entire UI in plain JS and CSS. Managing game state (selected food, timer, mutation gallery, leaderboards) without a framework honed my skills in event-driven programming.
- Community Engagement Loops: I learned the power of user-generated content—setting up weekly polls on r/gamesonreddit to let players vote on “Mystery Foods” led to a surge in comments and upvotes, and seeing the community hijack the concept was invaluable.
How I Built It
Built all using Bolt
Features
Food Roulette Core Loop: One-click food selection with randomized side-effects or pseudo-death animations.
Community Leaderboards: Tracked top survivors and most side effects occurred (compete against other Redditors via a sidebar leaderboard.)
Automated Effects Logging: Post-round summaries in the comments detailing each player’s outcome
Log in or sign up for Devpost to join the conversation.