Inspiration
The goal was to create an engaging math-based game that not only challenges players but also fosters a competitive and learning-driven community on Reddit.
What it does
r/EquationMaster - Equation Master is an interactive game where players solve equations by finding the missing value. For example, in 5 × ? = 25, the correct answer is 5. It offers multiple game modes, difficulty levels, and real-time leaderboards, allowing players to track their progress and compete with others. The game automatically posts a Scheduled Daily Challenge Question everyday and updates leaderboards, keeping the competition fresh and engaging.
How we built it
Built using Devvit with deep integration of Reddit APIs, we leveraged Redis for real-time data storage, ensuring smooth gameplay. Scheduled jobs manage daily content updates.
Challenges we ran into
Async state handling – Ensuring game progress, leaderboards, and challenges update without delays.
Redis understanding – Efficiently storing and retrieving player stats while optimizing queries.
Scheduling system – Setting up automated daily posts, leaderboards, and challenges using Devvit’s scheduler.
Accomplishments that we're proud of
Designed an interactive and competitive gaming experience within the Reddit ecosystem.
Created scheduled posts that automatically post the Daily Challenge Question every day
Successfully managed different game modes (Classic & Survival) with multiple difficulty levels.
What we learned
Redis for real-time gaming – Managing fast, efficient storage and updates.
State management – Handling live game data updates asynchronously.
Reddit automation – Scheduling posts, daily challenges, and leaderboards efficiently.
Game Modes & Difficulty
Classic Mode – Solve 10 equations per round at your own pace. Points are awarded based on difficulty: Easy (1 point), Medium (2 points), Hard (3 points).
Survival Mode – Keep solving equations without making a mistake. One wrong answer ends the game. Earn bonus points for every 3 correct answers in a row.
Difficulty Levels – Players can choose Easy, Medium, or Hard, with equations increasing in complexity.
What's next for Equation Master
Enhance performance, introduce engaging updates and make it mobile responsive.
Built With
- devvit
- redis
- typescript
Log in or sign up for Devpost to join the conversation.