Inspiration

I was inspired by browser games such as Judgey (you judge the rating of the book by its cover) and The Higher Lower Game (you guess which term had more Google searches) and Reddit karma seemed like the perfect concept that would bring users together and promote more traffic and browsing.

What it does

Users will be presented two posts that are fetched randomly from a list of popular subreddits, using different timeframes and sorting methods like top and rising. Then users will be asked to guess which post had more karma. It's a fun way to gamify browsing Reddit than just clicking on random.

The splash screen is dynamic! Yesterday's winners be shown in the splash screen and it will dynamically generate that on a daily basis.

How we built it

I started with the Hello World template and built my way up. I wanted to get a perfect UI and a intuitive UX so I spent a lot of time making it responsive and look and feel good. I used Kiro extensively during the whole process.

Challenges we ran into

Had to write a SVG>PNG>BASE64 converter that would upload a PNG image in base64 format to Reddit to be used for the splash screen so that I could have dynamic splash screens that would commemerate the yesterday's winners. I am really proud of this feature and it was the hardest one to implement because of the constraints and the limits of Devvit.

Also other than building a nice looking and reponsive UI, the biggest challenge I ran into was the optimization and caching of the post fetching, the logic that gets the random posts is very expensive so I knew from the get-go that I had to employ some caching/saving. I believe I made it sturdy enough. I also had problems displaying Reddit posts with multiple images.

Accomplishments that we're proud of

I'm really proud of the idea of having dynamic splash screens.

I'm proud of the way I handled the fetching of the posts, though I still want to improve upon that, as of right now some admin/moderator work is needed here and there but thankfully the menu items are enough for it.

What we learned

A lot of redis. I learned a lot of redis. Working SVG and image conversions was a new experience as well.

What's next for Karma Judger!

I would wanna get domain approvals for third party image and video hosters like Youtube etc. to be able to show posts that have such content. As of right now I am only able to have posts that have media on Reddit domains. I also kind of think the whole data of guessing might be used for/with AI as well. I also think about adding certain subreddit packs like "The Meme Pack", for daily or weekly events. Users would be presented posts from meme subreddits only in such a game mode.

For example, a subreddit pack for "Today I learned" would be very fun and informational.

Share this project:

Updates