Inspiration
My inspiration came from two places: the classic logic game and the massive community success of daily puzzles like Wordle. I didn't just want to build another puzzle; I wanted to build a daily competitive event.
My goal was to create a game that felt like a "daily race" where players compete against the clock and each other for the top spot on the leaderboard. For people that love to play on their own pace I added casual mode where they can enjoy game anytime and anywhere without stress.
What it does
- Daily Race: Every day, a new "Daily Challenge" is posted. Users must solve all logic puzzles (of varying difficulty and length) as fast as possible.
- The game tracks both Attempts and Duration (Time) for every level. These are combined to create a unique score that places the user on a real-time, in-game leaderboard. At the end of the day users are awarded points for their place in leaderboards. We backup users game so they can come back to action.
- Casual mode: Users can play at their own pace and when they feel like it.
How we built it
- Game Engine: The core game is written in typescript
- Scheduled jobs: to create post
- redis to store user stats and progress
- react for app and tailwind for styling
Challenges we ran into
- time - we jumped into this hackathon quite late and had to cut on many features just to roll out base game
- new tools - first time coding in typescript, react, redis - quite overwhelming on start default reddit template was very useful - I never programmed typescript but I could digest it quite quickly
- How to make it fit reddit - the casual mode is fun to play but doesn't really fit with how people interact with reddit - we had to come up with a better way to reengage users - that's why we have daily challenge
Accomplishments that we're proud of
- Building the game that is fun to play
- finishing Competion mode - the MVP goal was to ship casual only
- user save game - you can come back to where you left
- leaderboards work great
- level generation - all people compete with same levels in same order so there is fairness
What we learned
- A lot, I learned react, redis, typescript, base app architecture and how to integrate all parts to work together.
- Also that it's quite easy to make a game on reddit the initial template is super useful
What's next for Decodero
- actually nice looking splash screen
- 🏷️ automated flair system - same as achievements - reward people for their behavior (beating complex level, placing in top, going above X points, reporting bug,...)
- 🏆 champion points - at the end of day award points for top players
- Weekly and monthly competitions to find the best decoders
- Share your receipt - community members can compare their notes on how they beat the level or where they had issues in spoiler free way.
- fixing some bugs (especially in casual mode)
Built With
- devvit
- redis
- typescript
Log in or sign up for Devpost to join the conversation.