Inspiration
The inspiration behind Treasure Raiders comes from the timeless thrill of treasure hunting adventures. I wanted to bring that excitement to Reddit with a fun and interactive grid-based game. The challenge of limited attempts adds a layer of strategy, making every move count.
What it does
- Devvit Framework: I explored Reddit’s Devvit platform, learning how to build interactive custom post types with dynamic rendering.
- Grid-based Game Logic: I implemented a grid system with distance-based feedback using emojis to simulate hot, warm, and cold clues.
How we built it
- Devvit SDK: For creating interactive Reddit posts with dynamic rendering and event handling.
- React-like Components: I used Devvit’s JSX-based syntax for building the grid and handling interactions.
- State Management: Using useState for managing game state.
Challenges we ran into
- State Persistence: Managing game states and handling the treasure reveal delay without losing game flow.
- Reddit UI Constraints: Ensuring the grid and treasure feedback fit neatly into the Devvit custom post format.
Accomplishments that we're proud of
- 🎯 Interactive Gameplay: We successfully built a dynamic treasure hunting game with real-time grid interactions and distance-based feedback, creating an engaging and strategic experience.
- 🚀 Reddit Integration: Seamlessly integrated the game into Reddit’s Devvit platform, allowing users to play directly in a post with a clean and responsive UI.
- 🛠️ Optimized Performance: Efficiently managed game state, rendering, and feedback while keeping the gameplay smooth and responsive.
What's next for Treasure Raiders
- 🌎 Multiplayer Mode: Introduce a competitive multiplayer mode where users can challenge friends or other Redditors to a treasure race.
- 🏅 Leaderboard & Rewards: Add a leaderboard and reward system based on the number of attempts and speed of finding the treasure.
- 🎨 Custom Themes: Allow subreddit owners to customize the grid’s emojis and visuals to match their theme, making the game more adaptable.
- 🔥 Power-Ups & Bonuses: Add power-ups like extra attempts or treasure hints to make the game more dynamic.
Built With
- devvit
- typescript
Log in or sign up for Devpost to join the conversation.