Skip to content

Black Friday

Annual Pro is $90 for the first year, normally $120. Or start monthly at $6 for two months, then $12.

Ends Dec 4, 11:59 PM PT.

Create an account
← Public packages

@kentcdodds/space-shooter

Vertical scrolling spaceship shooter built with Three.js, playable on phone or desktop

FollowFork

Apps

Version
0.0.0
License
Published
November 27, 2026
Pinned commit
8a8a832
Rating
No ratings yet
Forks
0
Adaptation effort
—

README

Agent docs

Space Shooter

A vertical scrolling spaceship shooter built with Three.js. Fly your ship through endless waves of enemies, which get faster and more frequent over time. Your ship fires automatically, and you have three lives.

Intent

A simple, fun browser game that works equally well on a phone or a desktop. It has simple mechanics (no enemy attacks and no weapon upgrades; enemies only hurt you by crashing into you) and simple low-poly assets built in code. It has a pirate-themed sibling, @kentcdodds/pirate-shooter, with the same gameplay.

Playing

  • Touch: drag anywhere to fly. The ship follows your finger's movement, so your thumb never covers it.
  • Desktop: move the mouse, or use the arrow keys or WASD.
  • P or Escape pauses, and M toggles sound.

Enemies:

  • Drones (red) go down in one hit and sometimes arrive in V formations.
  • Weavers (purple rings) swerve side to side and take two hits.
  • Tanks (amber) are slow and take five hits.

Running locally

npm install
npm run dev

npm run build type-checks and builds a static site into dist/.

Hosting on Kody

Publishing the package serves the game as a Kody package app. src/app.ts renders the page, Kody compiles src/main.ts into the browser module, and public/ is served as static assets.

Report this listing

Log in to report this listing.