Skip to content

Latest commit

ย 

History

History
111 lines (78 loc) ยท 4.78 KB

File metadata and controls

111 lines (78 loc) ยท 4.78 KB

๐Ÿ”ฎ Skill Seeker

Welcome to Skill Seeker โ€” a community multiplayer game that turns your Reddit post into a wild professional quest! Recruit your crew, take on challenges, and climb the leaderboard โ€” all from inside a Reddit thread. This project was built for Hack Reddit 2025 to showcase the power of real-time multiplayer experiences using Devvit.

๐ŸŽฏ Mission

Become part of a secret society of professionals. Each mission requires a team of experts: doctor, astronomer, sysadmin, and more. ๐Ÿ•ต๏ธโ€โ™‚๏ธ๐Ÿ’ผ Assemble your crew. Answer the right questions. Win as a team. ๐Ÿ† Get a point as an individual professional, and show others your professionalism on the leaderboard. ๐ŸŽฏ

๐Ÿ’ก Game Highlights

  • โœจ Assemble a team & face the challenge โ€” all questions are synced in real-time via Devvit channels.

  • ๐Ÿ‘ฅ Comment-based team joining โ€” just reply with !join command.

  • ๐Ÿ“ฉ Invite teammates directly โ€” use the built-in invite form to bring others into the game.

  • โšก Live role validation โ€” only the right player can answer.

  • ๐Ÿ” Restart anytime โ€” reshuffle your team and try again.

  • ๐Ÿ“ˆ Leaderboard powered by Redis โ€” top players score big.

  • ๐ŸŽฒ 35 total questions and professions โ€” but only 5 are randomly selected per game.

    No one knows in advance which specialists will be needed โ€” assemble wisely!

    Each team must have exactly 5 players to begin the challenge.

๐Ÿ•น๏ธ How to Play

  1. ๐Ÿ” Start a new game from the post.
  2. ๐Ÿ‘ฅ Users join the team via comment: !join [profession]
  3. ๐Ÿค When all roles are filled, hit Continue.
  4. ๐ŸŽ“ Answer questions only if itโ€™s your roleโ€™s turn.
  5. ๐Ÿ† Beat the final challenge to score a point on the leaderboard!

๐Ÿ’ฌ Example Join

!join programmer

โšก Will fill the "programmer" slot if itโ€™s available.

๐Ÿงช Example Flow

  1. User A clicks Go to Team โžก๏ธ
  2. Game generates 5 questions and 5 specialists (broadcasted)
  3. User B joins with !join painter
  4. Game shows team status: PAINTER - userB
  5. Once all filled โ†’ start challenge
  6. Each user takes their turn answering
  7. Victory? Leaderboard +1 point! Failure? Try again.

๐Ÿง  Pro Tips

  • Only the assigned role can answer!
  • You can invite users via the built-in invite form
  • Use restart to regenerate roles & questions

๐Ÿ“‹ Requirements

  • A Reddit post to host the game
  • Devvit app setup and installed on your subreddit
  • Users with Reddit accounts (no login required in-game)

๐Ÿ“ฆ Tech Stack

  • Devvit API: realtime sync, UI blocks, Reddit data integration
  • Redis: persistent leaderboard via zIncrBy
  • React-style structure: modular functional pages with shared props
  • Comment polling: listens for comments via getComments() every 5s

๐Ÿ›  Local Dev Tools

Tool Version Notes
Devvit CLI 0.11.7 Core Devvit CLI
Node.js & npm 23.4.0 / 11.1.0 Includes npx utility
TypeScript & Prettier 5.3.2 / 3.5.3 For typing and formatting
VS Code latest Editor of choice
Redis latest For leaderboard storage

๐Ÿงฑ Core Components

Page Purpose
PageWelcome Entry screen with navigation
PageTeam Comment-based team assembly
PageChallenge Questions by role with validation
PageVictory Victory screen + point assignment
PageDefeat Failure screen + restart option
PageLeaderboard Live leaderboard from Redis

๐Ÿ”— Real-Time Channels

  • question_set โ€” syncs the exact same questions across all players
  • specialists_sync โ€” syncs roles for the team
  • page_sync / level_sync โ€” for smooth multi-user transitions
  • reset_team โ€” resets team slots for a new run

๐Ÿ›  Dev Mode

Built entirely in main.tsx using modular page components. All logic runs inside the Devvit custom post renderer โ€” no backend required beyond Redis for leaderboard scoring.

๐Ÿค Built For

Reddit + Devvit + multiplayer fun ๐ŸŽ‰ Optimized for community-driven gameplay in subreddit threads. Perfect for hackathons, online communities, or just showing off what Devvit can really do.

๐Ÿ“œ License

MIT License โ€” see LICENSE for full text. Built with ๐Ÿ’œ by vero-git-hub. Please keep this credit if you reuse or remix the project.