About Subreddit Spirit
Inspiration
The concept for Subreddit Spirit was born at the intersection of my two biggest passions: Big Data Engineering and Pixel Art.
As a computer engineering student specializing in Data and AI, I often look at social media and see streams of data—sentiment, frequency, and engagement spikes. I wanted to answer a simple question: If a subreddit had a physical form, what would it look like today?
Having organized community events (like hackathons and charity drives) in the past, I know that every group has a unique "vibe" that changes daily. Some days are chaotic and energetic; others are calm and supportive. Subreddit Spirit is an attempt to visualize that collective mood, turning raw engagement metrics into a living, breathing Tamagotchi-style creature.
How I Built It
I approached this project by treating the Reddit comment section as a live dataset. The app consists of two distinct layers:
- The "Data" Backend (The Brain): Using the Devvit platform, I built a state machine that aggregates user interactions over a 24-hour cycle. instead of random evolution, the "Spirit" evolves based on a weighted engagement score (). I utilized a simplified algorithm to determine the creature's growth path:
Where:
- represents the volume of discussion.
- represents community consensus.
- is a categorical variable based on specific "care" commands (e.g., !feed, !play).
- The "Pixel" Frontend (The Body): This was where I got to exercise my creative muscles. I created a library of pixel art sprites and animations (Idle, Eating, Evolving) to represent the different states. The challenge was ensuring the assets were modular enough to be "assembled" by the code, allowing for distinct variations of the Spirit based on the data it consumed.
Challenges I Faced
- The "Daily" Pacing: Balancing a game that relies on 24-hour cycles is difficult. My initial prototype was too slow—users felt their actions didn't matter. I had to adjust the feedback loop so that while the evolution is daily, the reaction (animations, XP gain) is instant, keeping the "GameOn" feeling alive.
- Asset Management: Creating enough pixel art variations to make the daily reveals exciting was time-consuming. I had to optimize my sprite workflow to produce assets that could be recolored or reused programmatically to save time without sacrificing quality.
What I Learned
Building Subreddit Spirit taught me how to bridge the gap between distinct disciplines. I learned how to use the Reddit Developer Platform to manage persistent state across thousands of users, and more importantly, I learned how to gamify community data in a way that encourages positive interaction. It was a perfect exercise in applying "Big Data" concepts to a fun, small-scale experiment.ome days are chaotic and energetic; others are calm and supportive. Subreddit Spirit is an attempt to visualize that collective mood, turning raw engagement metrics into a living, breathing Tamagotchi-style creature.
Built With
- aseprite
- auras)-that-the-code-could-mix-and-match.-the-schedule:-i-used-the-devvit-scheduler-to-trigger-the-"daily-reset"-event
- bodies
- creating-modular-parts-(eyes
- devvit
- node.js
- proceduralgeneration
- react
- redis
- typescript
Log in or sign up for Devpost to join the conversation.