Skip to main content

PortfolioCase study

SC-01Live · browser game

Slag City

Insert coin. The browser is the cabinet.

An original arcade beat-’em-up that runs in your browser — one complete stage, on a desktop cabinet or a phone. Coins are free.

Slag City's cabinet screen: the SLAG CITY marquee over a controls panel and “Press Enter — Start”, on a rusted industrial backdrop.
  • 3

    bosses in one complete stage

    Structural

  • 10 s

    continue countdown, coin-op style

    Structural

Evidence keyStructural

Why it exists

Dino Arcade can’t be published. An original game can.

The emulator cabinet is fine for private play and can never ship. The goal became a publishable, original arcade beat-’em-up with wholly original IP.

…a publishable, eventually commercial, original arcade beat-’em-up… with wholly original IP.

— Slag City Discovery PRD §1

The game

Attract, insert coin, fight, continue, initials.

A side-scrolling brawler that behaves like a coin-op cabinet, with a story told in an eight-slide intro and the boss dialogue.

Slag City's cabinet screen: the SLAG CITY marquee over a controls panel and “Press Enter — Start”, on a rusted industrial backdrop.
Slag City gameplay in the desktop cabinet: a fighter on a scrap-strewn factory floor with the score and credit HUD above.
Desktop: the simulated cabinet
Slag City's “Continue?” screen counting down from 10, with “Press 5 — Insert coin to continue · Free”.
The 10-second continue
Slag City on a phone in portrait: the game above an on-screen d-pad and jump, attack and special buttons.
Phone: on-screen controls

Decisions

Deterministic underneath, arcade on top.

  • Could have
    Game logic tangled into the renderer
    Chose
    A pure, deterministic core with a seeded RNG
    Because
    Recorded input replays are hashed in tests, so a behaviour change fails a golden.
  • Could have
    Separate code per input device
    Chose
    Keyboard, gamepad and touch feed one input frame
    Because
    Every device drives the same game, desktop cabinet or phone.
  • Could have
    Ship sound files
    Chose
    Synthesise audio in the browser
    Because
    Web Audio makes every sound; there are no audio files.

How it works

One input frame, one pure core.

  1. Keyboard · gamepad · touch
  2. One input frame
  3. Pure coreseeded RNG, no rendering
  4. Phaser 3 scenedraws the frame
  5. Web Audiosynthesised sound
A button press through Slag City

Evidence

Live since 16 September 2026 — no numbers yet.

The game is live and its repository is public. No players, sessions or scores have been recorded.

What isn’t measured

  • No users or usage data are recorded.
  • No lessons-learnt file exists yet.

Sources

Everything here is backed by a real artifact.

  • Readme
  • PRD
  • Build ledger
  • Evaluation

Evidence behind the Slag City case study

Private working documents are listed with what they support; only public sources link out.

  1. README

    Readme

    Supports: The coin-op loop, features, the deterministic core

  2. Discovery PRD

    PRD5 Sep 2026

    Supports: Why an original, publishable game

  3. Deploy notes

    Build ledger16 Sep 2026

    Supports: Live on Vercel

  4. Critique captures

    Evaluation

    Supports: The cabinet, continue and phone screens shown here