Reddit Factions - The Great Subreddit War

A revolutionary turn-based strategy game built on Reddit's Devvit platform where hundreds of Redditors join elemental factions and battle for supremacy through collective decision-making and democratic warfare.

What it does

Reddit Factions is an innovative multiplayer strategy game that transforms Reddit users into faction warriors in an epic battle called "The Great Subreddit War." Players choose from four distinct elemental factions (Fire, Water, Earth, Air) and participate in turn-based battles where the majority vote determines each faction's action every 30 seconds. It's a unique blend of democracy, strategy, and social gaming that leverages Reddit's community-driven nature.

The game runs as a complete React web application directly within Reddit posts using Devvit's platform, creating a seamless social gaming experience where players can discuss strategy in the comments while making tactical decisions through an intuitive, mobile-optimized interface. Each faction starts with 100 HP and 0 score, and players must work together to survive attacks while maximizing their faction's score through strategic coordination and tactical voting.

How we built it

React 19: Latest React with StrictMode, createRoot, and modern hooks for optimal performance TypeScript 5.8: Strict type safety across entire codebase with project references Tailwind CSS 4.1: Utility-first CSS with custom animations, responsive design, and mobile-first approach Vite 6.2: Lightning-fast build tool with hot module reloading and optimized production builds Mobile-Optimized HTML: Viewport configuration with user-scalable disabled for app-like experience Devvit Platform: Reddit's developer platform for seamless Reddit integration and hosting Express 5.1: Modern Node.js server with RESTful API endpoints and comprehensive middleware Redis: Managed Redis instance via Devvit for game state persistence and real-time data Node.js 22+: Latest Node.js runtime with ES modules and modern JavaScript features

Challenges we ran into

Our biggest challenge was [game balancing]. Another hurdle was [managing the real-time game state].

Accomplishments that we're proud of

We are incredibly proud of how we translated the "feel" and culture of Reddit into actual, fun game mechanics.

What we learned

This project was a deep dive into [ full-stack game development ,real-time networking].

What's next for Reddit Factions: The Great Subreddit War

Our roadmap is huge! In the future, we plan to:

  • Integrate the Reddit API to allow players to join factions based on their actual subreddit subscriptions and use their Karma as a resource and many other features.

Built With

Share this project:

Updates