A game we clanked up Live on Gab.
Go to file
2026-05-30 06:44:35 -04:00
public Add sound effects: shoot sweep, alien march, and explosion boom 2026-05-30 03:00:19 -04:00
src Add sound effects: shoot sweep, alien march, and explosion boom 2026-05-30 03:00:19 -04:00
.gitignore add .gadget 2026-05-30 06:44:35 -04:00
AGENTS.md Add README.md and AGENTS.md documentation 2026-05-30 03:03:20 -04:00
eslint.config.js Add sound effects: shoot sweep, alien march, and explosion boom 2026-05-30 03:00:19 -04:00
index.html Add sound effects: shoot sweep, alien march, and explosion boom 2026-05-30 03:00:19 -04:00
package.json Add sound effects: shoot sweep, alien march, and explosion boom 2026-05-30 03:00:19 -04:00
pnpm-lock.yaml Add sound effects: shoot sweep, alien march, and explosion boom 2026-05-30 03:00:19 -04:00
README.md Add README.md and AGENTS.md documentation 2026-05-30 03:03:20 -04:00
vite.config.js Add sound effects: shoot sweep, alien march, and explosion boom 2026-05-30 03:00:19 -04:00

The Clanked Game

A Space Invaders-inspired browser game built with React and Vite.

Installation

pnpm install

Development

pnpm dev

Runs the Vite dev server. Open the URL shown in your terminal (typically http://localhost:5173/).

Gameplay

Controls

Key Action
Arrow Left / A Move left
Arrow Right / D Move right
Space Fire missile
Escape Pause / Resume

Objective

Destroy all waves of aliens before they reach your position or deplete your lives.

  • Green aliens (bottom rows): 10 points
  • Yellow aliens (middle rows): 20 points
  • Red aliens (top rows): 30 points

Screens

  • Home — Landing screen with "Main Menu" button
  • Main Menu — Access "Start New Game" and "Options" (Options not yet implemented)
  • Game — Canvas-based gameplay with HUD showing Score, Lives, and Round
  • Pause — Overlay when Escape is pressed; press Escape again to resume

Sound

Aliens play the classic four-note descending march throughout gameplay. The tempo accelerates as you destroy more aliens, matching the original 1978 arcade experience. Player fire and alien hits also produce synthesized sound effects.

Lose a life → Game Over → Return to Main Menu or start a New Game.