Inspiration
Climate change demands action, but education often feels boring or preachy. We experienced this firsthand - watching friends throw recyclables in trash bins because they genuinely didn't know better. We realized that environmental education needed to be interactive, immediate, and fun. That's when we discovered gaming could be the bridge. What if learning proper recycling felt like playing Tetris? What if every correct sort gave you the same dopamine hit as clearing a line? We wanted to transform environmental awareness from a chore into an addictive experience that creates lasting behavioral change.
What it does
EcoSort is a fast-paced educational game that makes recycling knowledge stick through engaging gameplay: ๐ฎ Core Gameplay: Real-time waste items fall from the sky with increasing speed Players drag-and-drop items into 5 category bins (Plastic, Paper, Glass, Organic, Metal) Progressive difficulty system keeps players challenged and engaged Lives system creates urgency without harsh punishment Scoring system rewards accuracy and speed with multipliers ๐ค AI Educational Assistant: EcoBot powered by Google Gemini AI provides real-time recycling education Voice responses using ElevenLabs for complete accessibility Contextual Q&A that answers questions as they arise during gameplay Personalized learning that adapts to player knowledge gaps ๐ฑ Universal Accessibility: Touch-optimized for mobile devices with fluid drag controls Mouse and keyboard support for desktop users Responsive design that works perfectly on any screen size Performance optimization ensures smooth 60fps gameplay on all devices
How we built it
We built EcoSort using cutting-edge web technologies optimized for real-time gaming: Frontend: React 18.3.1 + TypeScript for robust, type-safe state management Physics Engine: Custom drag-and-drop system optimized for both touch and mouse AI Integration: Google Gemini API for intelligent educational responses Voice Synthesis: ElevenLabs API for natural, accessible audio feedback Animation: Framer Motion + React Spring for smooth 60fps gameplay Audio: Web Audio API with procedurally generated game sounds Styling: Tailwind CSS with mobile-first responsive design Platform: Built entirely in Bolt.new, showcasing the platform's capabilities for complex interactive applications The entire development process leveraged Bolt.new's rapid prototyping capabilities, allowing us to iterate quickly on game mechanics and educational content.
Challenges we ran into
The biggest technical challenge was creating fluid drag-and-drop mechanics that felt natural on both touch and desktop devices. We spent days perfecting the physics calculations for falling items, collision detection, and responsive touch controls that work consistently across different screen sizes and input methods. Performance optimization for mobile was crucial - we implemented adaptive rendering systems that reduce particle effects and visual complexity on lower-end devices while maintaining the core educational experience. The educational challenge was balancing fun with learning effectiveness. We iterated extensively on difficulty curves, testing with both kids and adults to find the sweet spot where learning happens naturally without feeling forced or overwhelming. Privacy and accessibility were also major considerations - we designed the system to be fully WCAG compliant while processing educational interactions without storing personal data.
Accomplishments that we're proud of
Educational Impact: Created an engaging tool that makes environmental education memorable and actionable Technical Excellence: Built a complex real-time game with AI integration using only web technologies Accessibility: Achieved full accessibility compliance with voice narration and keyboard navigation Performance: Optimized for 60fps gameplay across all devices, from mobile to desktop AI Integration: Successfully combined Google Gemini and ElevenLabs for contextual, voice-enabled education Platform Showcase: Demonstrated Bolt.new's capability to handle sophisticated interactive applications Real-world Application: Addressed a genuine environmental education gap with a practical, scalable solution
What we learned
We discovered that environmental education works best when it's experiential rather than theoretical. Players remember bin colors and waste categories because they've physically (virtually) sorted hundreds of items, creating muscle memory and visual associations. The AI integration taught us that conversational learning creates much deeper engagement than static content. Players ask EcoBot questions we never thought to program answers for, proving that AI can personalize education in real-time and adapt to individual learning styles. Most importantly, we learned that Bolt.new can handle complex real-time applications with multiple API integrations seamlessly. The platform's hot-reload capability was invaluable for iterating rapidly on game feel, physics, and user experience. We also learned that gamification must serve the educational goal, not overshadow it - the most effective learning happens when game mechanics reinforce real-world knowledge rather than distract from it.
What's next for EcoSort - Interactive Recycling Game
We're expanding EcoSort into a comprehensive environmental education platform: ๐ Global Expansion: Localized recycling rules for different cities and countries Multi-language support for worldwide accessibility Cultural adaptation of educational content ๐ซ Educational Integration: Teacher dashboard with progress analytics and curriculum integration Multiplayer competitions between schools and classrooms Achievement systems that tie to real-world environmental actions ๐ Advanced Analytics: Carbon footprint tracking and visualization Personal impact metrics and environmental goal setting Community challenges and social sharing features ๐ฎ Expanded Gaming: Additional environmental mini-games (energy conservation, water usage, composting) AR features for real-world recycling verification Integration with smart city waste management systems ๐ผ Platform Scale: Partnerships with educational institutions and environmental organizations Enterprise solutions for corporate sustainability training API for third-party environmental education integrations
Built With
- bolt
- front
- react
Log in or sign up for Devpost to join the conversation.