Inspiration

GuessIT was inspired by Reddit's vibrant community culture and its love for interactive, conversational games like r/place and r/chessquiz. I aimed to create something that not only entertains but also engages Redditors through playful interactions and encourages genuine conversations. The idea of using emoji-based clues came naturally, given their universal appeal and simplicity.

What it does

GuessIT is an emoji-based multiplayer guessing game built for Reddit using Devvit. Players choose from categories like Cricket, Football, or Movies and receive a sequence of emoji clues representing a famous person or title. They have limited chances (4 lives) to guess correctly before the game ends. There's also a bonus mode called WordIT, where players guess a word based on two cryptic definitions and revealed letters.

Key gameplay features include:

✅ Interactive emoji-based guessing directly inside Reddit posts.

🔁 Progressive clue reveal system.

❤️ Life system (4 wrong guesses = game over).

🔄 WordIT mode with two definitions and hangman-style letter reveals.

🏆 Real-time leaderboard stored via Redis.

👤 Username entry and last score tracking.

GuessIT blends challenge with fun and community engagement, encouraging comments, debates, and replayability.

How we built it

GuessIT was built using Reddit's Devvit platform with TypeScript and JSON data files for managing game content.

Key components:

Interactive Posts: Leveraged to facilitate seamless gameplay directly within Reddit posts.

Redis Integration: Used to implement real-time leaderboards and user scores.

State Management: Effectively handled various game states (Home, Category Guessing, WordIT mode, Leaderboard views).

Emoji Clues: Designed clear, engaging emoji-based clues in JSON files to enhance the gaming experience.

Development tools:

TypeScript and JSON for content management.

Devvit Public API for rapid game integration and user interaction management.

Challenges we ran into

The main challenges encountered included:

State Management Complexity: Managing the diverse game states, ensuring smooth transitions without glitches, especially with real-time updates.

Performance Optimizations: Ensuring the game loaded quickly and efficiently to provide the best user experience within Reddit feeds.

Clue Balancing: Crafting emoji-based clues that were neither too obvious nor too vague, striking the right balance of difficulty.

I overcame these challenges by iterative testing, feedback from early testers, and careful refinement of gameplay mechanics.

The main challenges encountered included:

State Management Complexity: Managing the diverse game states, ensuring smooth transitions without glitches, especially with real-time updates.

Performance Optimizations: Ensuring the game loaded quickly and efficiently to provide the best user experience within Reddit feeds.

Clue Balancing: Crafting emoji-based clues that were neither too obvious nor too vague, striking the right balance of difficulty.

I overcame these challenges by iterative testing, feedback from early testers, and careful refinement of gameplay mechanics.

What we learned

Throughout this hackathon, I learned extensively about Reddit's Devvit platform, particularly the Interactive Posts feature. I became comfortable with:

Real-time interactions and event-driven state updates.

Utilizing Redis for real-time leaderboards.

Building user-engaging and performant interfaces.

It was insightful to see firsthand how simple yet creative mechanics could foster community engagement and make the Reddit experience even more interactive and enjoyable.

What's next for GuessIT

GuessIT is not just a game; it's a community-driven experience designed specifically to enhance Reddit interactions, providing continuous entertainment and fostering conversation. The journey taught me invaluable lessons in both technical development and creating engaging online experiences for communities.

Built With

  • and-trigger-real-time-updates.-devvit-ui-components-?-for-designing-the-game-interface-using-blocks-like-vstack
  • buttons
  • devvit
  • hstack
  • json
  • manage-subreddit-context
  • reddit
  • redis
  • typed-components-and-logic.-redis-?-used-for-real-time-leaderboard-and-persistent-user-scores.-json-?-to-organize-and-manage-the-emoji-clue-data-and-wordit-definitions.-reddit-api-?-to-fetch-usernames
  • typescript
Share this project:

Updates