About the Project
Inspiration
The idea for r/ContainerQuest came from combining my experience building RustDeploy, a Rust-based CLI tool for container deployment, with the unique Reddit community culture. I wanted to create a game that was both educational and fun, allowing Reddit users to interact with containers in a playful way while experiencing aspects of DevOps. The hackathon’s focus on UGC games and interactive posts inspired me to transform a developer tool into a Reddit-y interactive experience.
What I Learned
During this project, I learned a lot about:
- Devvit Web and Reddit interactive posts: how to create posts that respond dynamically to user input.
- Frontend/backend integration: connecting a Rust backend (RustDeploy) to a React-based interactive post.
- UGC-driven game mechanics: designing scoring, leaderboards, and recurring challenges that encourage community participation.
- Rapid prototyping and hackathon development: balancing polish, functionality, and submission deadlines.
How I Built It
Backend:
- Adapted RustDeploy to act as a game engine, evaluating “deploy commands” and generating scores.
- Simulated build success/failure, speed, and creativity bonuses for fun gameplay.
- Adapted RustDeploy to act as a game engine, evaluating “deploy commands” and generating scores.
Frontend:
- Built with Devvit Web + React to create interactive posts.
- Users can submit commands, see live container progress, and view leaderboards.
- Built with Devvit Web + React to create interactive posts.
Integration:
- Backend exposes a JSON API that the frontend queries to update scores and display container animations.
- Daily/recurring challenges were implemented to keep users engaged.
- Backend exposes a JSON API that the frontend queries to update scores and display container animations.
UGC Features:
- User commands contribute to gameplay and scoring.
- Comment voting can influence creativity points.
- User commands contribute to gameplay and scoring.
Challenges
Some of the challenges I faced included:
- Adapting a CLI tool (RustDeploy) to a game engine: ensuring that the logic was fun, not just functional.
- Simulating builds: creating realistic but playful scoring without executing real Docker builds.
- Reddit interactive posts: learning how to update posts dynamically based on user input.
- Time management: delivering a fully playable game within the hackathon’s 9-day timeframe.
Reflection
This project taught me how developer tools can inspire creative, community-driven experiences. I also gained practical experience in full-stack Rust + web development, UGC design, and interactive post mechanics on Reddit.