Skip to content

Lycan-Xx/stack-shooter-reddit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

31 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง› Stack Shooter: Vampire Siege

A community-focused survival shooter built for Reddit's Devvit platform. Defend against endless waves of vampires while competing with your subreddit and squad for glory.

Built for the Reddit x Kiro Hackathon 2025


๐ŸŽฎ What Makes This Different

Most games just post on Reddit and hope for upvotes. Stack Shooter is designed for Reddit's community structure - your subreddit membership actually matters.

Core Gameplay

  • Vampire Survivors-Style Action: Top-down shooter with wave-based progression
  • 4 Difficulty Modes: Easy, Normal, Hard, Nightmare
  • 6 Upgrade Paths: Vitality, Firepower, Rapid Fire, Agility, Quick Dash, Piercing Shots
  • Mobile-First Design: Touch controls, virtual joystick, optimized for phones
  • Tutorial Mode: Interactive onboarding for new players

Community Features (The Innovation)

๐Ÿ† 4 Leaderboard Types

  • Global: Compete with everyone worldwide
  • Subreddit: r/gaming vs r/indiegaming - community pride
  • Daily: Resets every 24 hours - fresh competition
  • Weekly: Consistent performance over time

๐Ÿ‘ฅ Squad System

  • Create or join squads (teams within your subreddit)
  • Individual scores combine into squad totals
  • Squad vs squad competition
  • Team leaderboards

๐ŸŽฏ Daily Challenges

  • Same modifiers for everyone each day
  • 8 unique challenge types (Speed Demons, The Horde, Tank Mode, etc.)
  • Creates shared experiences to discuss in comments
  • Challenge-specific leaderboards

๏ฟฝ CommunDity Stats

  • Track collective achievements
  • Total vampires killed across all players
  • Total battles fought
  • Subreddit vs subreddit competition

Why This Works on Reddit

  • Async Multiplayer: Play anytime, score still counts
  • No Lag: No servers, no battery drain
  • Mobile Perfect: Works great on phones where Reddit users browse
  • Community Identity: Subreddit leaderboards create pride and rivalry
  • Emergent Behavior: Squads form tournaments, subreddits coordinate challenges

๐ŸŽฏ How to Play

Controls

  • Desktop: WASD/Arrows to move, Mouse to aim, Click to shoot, Spacebar to dash
  • Mobile: Virtual joystick to move, Tap to shoot, Dash button

Gameplay Loop

  1. Select difficulty or try tutorial
  2. Survive waves of vampires
  3. Unlock upgrades every 3 waves
  4. Your score goes to your squad and subreddit
  5. Compete on 4 different leaderboards
  6. Try daily challenges for shared competition

Tips

  • Use dash strategically when surrounded
  • Keep moving to avoid getting cornered
  • Balance offensive and defensive upgrades
  • Join a squad to compete as a team
  • Try daily challenges for variety

๐Ÿ› ๏ธ Technology Stack

  • Devvit: Reddit's developer platform
  • React: Frontend UI
  • TypeScript: Type-safe development
  • Vite: Build tool
  • Express: Backend API
  • Redis: Data persistence (via Devvit)

๐Ÿš€ Getting Started

Prerequisites

  • Node.js 22+ installed
  • Reddit account
  • Devvit CLI

Installation

  1. Clone the repository
git clone https://github.com/Lycan-Xx/stack-shooter-reddit.git
cd stack-shooter-reddit
  1. Install dependencies
npm install
  1. Login to Devvit
npm run login
  1. Start development server
npm run dev

This will:

  • Build client and server
  • Start Devvit playtest
  • Provide a Reddit URL to test your app

Commands

npm run dev          # Development with live reload
npm run build        # Build for production
npm run deploy       # Upload to Reddit
npm run launch       # Publish for review
npm run check        # Type check, lint, format
npm run login        # Login to Devvit CLI

๐Ÿ“ Project Structure

stack-shooter/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ client/          # React frontend
โ”‚   โ”‚   โ”œโ”€โ”€ components/  # UI components
โ”‚   โ”‚   โ”œโ”€โ”€ hooks/       # Custom React hooks
โ”‚   โ”‚   โ”œโ”€โ”€ lib/         # Game logic
โ”‚   โ”‚   โ””โ”€โ”€ main.jsx     # Entry point
โ”‚   โ”œโ”€โ”€ server/          # Express backend
โ”‚   โ”‚   โ”œโ”€โ”€ core/        # Business logic
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ leaderboard.ts
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ challenges.ts
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ squads.ts
โ”‚   โ”‚   โ””โ”€โ”€ index.ts     # API endpoints
โ”‚   โ””โ”€โ”€ shared/          # Shared types
โ”‚       โ””โ”€โ”€ types/
โ”‚           โ””โ”€โ”€ api.ts   # Type definitions
โ”œโ”€โ”€ docs/                # Documentation
โ”‚   โ”œโ”€โ”€ hackathon/       # Hackathon submission docs
โ”‚   โ””โ”€โ”€ development/     # Development phase docs
โ”œโ”€โ”€ .kiro/               # Kiro AI configuration
โ”‚   โ”œโ”€โ”€ hooks/           # Custom automation hooks
โ”‚   โ””โ”€โ”€ steering/        # Best practice guides
โ””โ”€โ”€ devvit.json          # Devvit configuration

๐Ÿ† Hackathon Submission

This project was built for the Reddit x Kiro Hackathon 2025 (October 13-29, 2025).

Categories

  • Community Play: Squad system, daily challenges, 4 leaderboard types
  • Best Kiro Developer Experience: 60+ hours of deliberate development with Kiro

Key Features for Judging

  • โœ… Custom first screen with community stats
  • โœ… Subreddit-specific leaderboards (unique!)
  • โœ… Squad system for team competition
  • โœ… Daily challenges with 8 modifiers
  • โœ… Async multiplayer perfect for mobile
  • โœ… Clean, type-safe architecture
  • โœ… Comprehensive documentation

Documentation

  • Kiro Development Experience: docs/hackathon/KIRO_DEVELOPMENT_EXPERIENCE.md
  • Hackathon Readiness: docs/hackathon/HACKATHON_READINESS.md
  • Video Script: docs/hackathon/FINAL_VIDEO_SCRIPT.md
  • Phase Documentation: docs/development/PHASE*.md

๐ŸŽจ Development with Kiro

This project was built using Kiro AI as a conversational development partner over 60+ hours.

Kiro Integration

  • Custom Hooks: Auto-commit messages, README updates, splash screen generation
  • Steering Files: Best practices, API patterns, refactoring checklists
  • Phased Development: PHASE1 (cleanup), PHASE2 (leaderboards), PHASE3 (challenges)

Key Learnings

  • Used Kiro conversationally to discuss problems and solutions
  • Created custom automation for workflow efficiency
  • Documented journey in phases for clarity
  • Built deliberately, understanding every architectural decision

See docs/hackathon/KIRO_DEVELOPMENT_EXPERIENCE.md for full details.


๐ŸŽฏ Features

Gameplay

  • 4 difficulty modes
  • 6 upgrade paths with multiple levels
  • Wave-based progression
  • Dash mechanic with energy management
  • Tutorial mode
  • Mobile touch controls
  • Particle effects and visual polish

Community

  • Global leaderboard
  • Subreddit-specific leaderboards
  • Daily leaderboards
  • Weekly leaderboards
  • Squad creation and management
  • Squad leaderboards
  • Daily challenges with 8 modifiers
  • Community statistics
  • Personal statistics

Technical

  • Type-safe client-server communication
  • Responsive design (mobile/tablet/desktop)
  • Redis data persistence
  • Clean, modular architecture
  • Zero compilation errors
  • Comprehensive documentation

๐Ÿ“ License

BSD-3-Clause License - See LICENSE file for details.


๐Ÿค Contributing

This project was built for a hackathon and is primarily for demonstration purposes. However, if you'd like to contribute:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

๐Ÿ”— Links


๐Ÿ“ง Contact

Built by Lycan-Xx for the Reddit x Kiro Hackathon 2025.


Stack Shooter: Where your subreddit membership actually matters. ๐Ÿง›โ€โ™‚๏ธ๐ŸŽฎ

About

A top-down survival shooter where you defend against endless waves of vampires. Built with Devvit for reddit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published