The Median Gamble
Inspiration
The Median Gamble was inspired by the fascinating intersection of game theory and social psychology. I wanted to create a game that wasn't just about mathematical skill, but about predicting human behavior. Everyone's choice can affect the outcome of the game! The twist of penalizing over-guesses adds a unique psychological element that transforms a simple number-guessing game into a complex strategic challenge. Players must balance their own instincts with their predictions about how others will play Do you go with a safe number? Or try to outthink others and risk overshooting?
What it does
The game presents players with a seemingly simple task: guess a number between 0 and 100. However, there's a crucial twist - while you want to be close to the median of all guesses, being over the median results in zero points. This creates an interesting dynamic where players must:
- Predict what others will guess
- Stay under the median while being as close as possible
- Consider how other players might adjust their strategies over time
- Post comments to misguide others on what the true median is.
How we built it
We built The Median Gamble using:
- Devvit (Reddit's app platform) for the core functionality
- Redis for data storage and real-time updates
- Custom HTML/CSS/JS for the interactive interface, charts, and leaderbaord
- Automated scheduling system for daily games
Challenges we ran into
- Data Consistency: Ensuring accurate median calculations with concurrent user submissions
- User Experience: Creating an interface that's both simple and informative
- Time Management: Handling different time zones for the daily game schedule
Accomplishments that we're proud of
- Created a game that's simple to understand but deep in strategy
- Built a robust automated system for daily games, as well as high quality visualizations
- Developed a scoring system that encourages strategic thinking
What we learned
- The importance of clear, simple rules with interesting strategic depth
- The challenges of building engaging social games
- The importance of user feedback in game design
What's next for The Median Gamble
- More twists!:add a multiplier that players will now need to get closest but not over 0.8 * median etc.
- Enhanced Statistics: More detailed historical data and trend analysis
- Tournament Mode: Special events with modified rules
- Mobile App: A dedicated mobile experience
- Community Features: Discussion boards and strategy sharing
- Educational Tools: Resources for understanding game theory and statistics
Try it yourself!
Join us daily at midnight PST for a new round of The Median Gamble. Can you predict where the median will land while staying safely under it?
Built With
- css
- devvit
- html
- javascript


Log in or sign up for Devpost to join the conversation.