Inspiration

I love zombie games, im a web dev that wanted to go into game programming.

What it does

Zombie survival game, each wave becomes more and more difficult, find weapons and powerups to survive.

How we built it

Languages

  • TypeScript - Primary language for all game logic, client, and server code
  • JavaScript - Runtime environment

Game Engine & Frontend

  • Phaser.js - 2D game engine for all game rendering, physics, animations, and gameplay
  • Vite - Build tool and development server for both client and server

Platform & Runtime

  • Reddit Devvit Platform - The game runs inside Reddit posts as a web app
  • Node.js - Server runtime environment
  • Webview - Client runs in a webview within Reddit

Backend & API

  • Express.js - Web server framework for API endpoints
  • Serverless Architecture - Backend runs as serverless functions on Reddit's infrastructure

Database & Storage

  • Redis - Primary database for:
    • Leaderboards (sorted sets)
    • User statistics (hashes)
    • Global high score/level records
    • Persistent game data

Reddit Integration

  • Reddit API - For creating posts, accessing subreddit context
  • Devvit SDK - Reddit's developer platform SDK (@devvit/web/server)

Development Tools

  • TypeScript Project References - Monorepo structure with shared types
  • ESLint - Code linting
  • Prettier - Code formatting

Architecture

  • Client-Server Architecture - Game client communicates with Express server via fetch requests
  • Monorepo Structure - Three main modules: client, server, shared types

Accomplishments that we're proud of

The beta

What we learned

how to make a 2d game

What's next for Zombie Stick Kill

UI visual improvements, new levels, new weapons, proper sounds.

Share this project:

Updates