🎮 Inspiration
BubbleShootie was inspired by the vibrant gaming community on Reddit and the success of casual puzzle games on social platforms. We wanted to create a native Reddit gaming experience that leverages the platform's social features while providing the addictive gameplay of classic match-3 games. Drawing inspiration from popular mobile puzzle games and Reddit's interactive content features, we aimed to build a game that feels at home on Reddit while offering deep, engaging gameplay.
⚡ What it does
BubbleShootie is a fully-integrated Reddit match-3 puzzle game that allows users to:
- Play Directly on Reddit: Launch and play the game within Reddit posts using Devvit's native app framework
- Social Gaming: Share scores, compete with Reddit communities, and challenge friends
- Reddit Integration: Leverage Reddit accounts for seamless authentication and progression
- Community Features: Participate in community-wide challenges and events
- Cross-platform Experience: Play both on Reddit (via Devvit) and on web (via React frontend)
- Progression System: 10 levels with increasing difficulty, daily challenges, and rewards
- Leaderboards: Compete with other Redditors in community and global rankings
🏗️ How we built it
Backend Architecture:
- Express.js API Server: RESTful API for game data persistence and user management
- PostgreSQL Database: Stores user profiles, game states, scores, and leaderboards
- Redis Cache: For real-time leaderboard updates and session management
- JWT Authentication: Secure token-based authentication compatible with Reddit OAuth
Reddit Integration (Devvit):
- Devvit Platform: Native Reddit app framework for seamless Reddit integration
- Custom App Components: Game UI components built with Devvit's React-like system
- Reddit API Integration: User authentication, community features, and post interactions
- In-post Gaming: Games can be launched directly from Reddit posts and comments
Frontend Architecture:
- React Web Application: Full-featured web version for browser play
- TypeScript: Type-safe development across all platforms
- Tailwind CSS: Responsive, modern UI design system
- Reddit OAuth: Secure authentication using Reddit's OAuth 2.0
- Progressive Web App (PWA): Installable web version with offline capabilities
Game Logic & Features:
- Match-3 Engine: Custom algorithm for detecting and processing fruit matches
- State Management: Shared game logic between Devvit and React implementations
- Real-time Updates: WebSocket connections for live leaderboard updates
- Cross-platform Sync: Game progress synchronized between Reddit and web versions
- Moderation Tools: Community moderation features for Reddit communities
🚧 Challenges we ran into
- Dual Platform Development: Maintaining feature parity between Devvit (Reddit) and React (Web) implementations
- Reddit API Limitations: Working within Reddit's rate limits and platform constraints
- Devvit Learning Curve: Mastering the Devvit platform's unique component system and limitations
- State Synchronization: Keeping game state consistent between Reddit sessions and web play
- Authentication Flow: Implementing seamless OAuth between Reddit, our backend, and the web app
- Performance Optimization: Ensuring smooth gameplay within Reddit's embedded environment
- Data Persistence: Designing a database schema that works for both anonymous and authenticated play
- Community Integration: Building features that leverage Reddit's unique community structure
🏆 Accomplishments that we're proud of
- Native Reddit Integration: Successfully created a fully functional game within Reddit using Devvit
- Cross-platform Play: Users can play on Reddit and continue on web with synchronized progress
- Community Features: Implemented Reddit-specific features like community leaderboards and challenges
- Performance: Optimized game to run smoothly even within Reddit's constrained environment
- Authentication System: Seamless Reddit OAuth integration with our custom backend
- Complete Feature Set: All planned features implemented across both platforms
- Moderation Tools: Built tools for Reddit moderators to manage game instances in their communities
- Responsive Design: Game works beautifully on Reddit mobile, desktop, and standalone web
📚 What we learned
- Reddit Platform Development: Deep understanding of Devvit framework and Reddit API
- Cross-platform Architecture: Strategies for maintaining codebases across different platforms
- Community Gaming: Designing games specifically for social platform communities
- OAuth Integration: Complex authentication flows across multiple platforms
- Performance in Constraints: Optimizing games for embedded environments
- Social Features Integration: Leveraging platform-specific social features
- Database Design for Gaming: Efficient schemas for game state and user progression
- Real-time Updates: Implementing WebSocket communication for live features
🔮 What's next for BubbleShootie
Immediate Next Steps (1-3 months):
- Reddit Community Expansion: Launch in more subreddits and gaming communities
- Enhanced Social Features: Reddit-specific achievements and community badges
- Cross-post Integration: Share game results directly to user profiles
- Mobile Optimization: Improved touch controls for Reddit mobile app
- Analytics Dashboard: For Reddit moderators to track engagement
Medium-term (3-6 months):
- Reddit Awards Integration: Custom Reddit awards for game achievements
- Community Tournaments: Subreddit-specific competitions with custom prizes
- API Expansion: Public API for third-party integrations and bots
- Reddit Chat Integration: Real-time gaming with Reddit Chat
- Streaming Features: Integration with Reddit's streaming platform
Long-term Vision (6-12 months):
- Reddit Premium Features: Exclusive content for Reddit Premium members
- NFT Integration: Reddit Collectible Avatar integration for in-game items
- Cross-community Play: Tournaments across different subreddits
- Developer Platform: Allow community developers to create custom levels
- VR/AR Integration: Experimental features for Reddit's evolving platform
Technical Roadmap:
- Devvit 2.0 Migration: Upgrade to new Devvit features as they're released
- Microservices Architecture: Scale backend for millions of Reddit users
- Machine Learning: Personalized level recommendations based on play patterns
- Blockchain Integration: Optional blockchain features for true ownership
- Cross-platform SDK: Allow other developers to build on our gaming infrastructure
Community Growth:
- Reddit AMAs: Developer Q&A sessions in gaming communities
- Community Contests: User-generated content competitions
- Moderator Tools: Enhanced tools for community game management
- Educational Content: Tutorials and guides for Reddit gaming
- Partnerships: Collaborate with other Reddit game developers
BubbleShootie represents a new frontier in Reddit gaming - combining the addictive gameplay of match-3 puzzles with the unique social dynamics of Reddit communities. Our vision is to create not just a game, but a thriving gaming ecosystem within Reddit that brings communities together through shared gaming experiences.
Built With
- devvit
- react
- typescript
Log in or sign up for Devpost to join the conversation.