Andromeda Invaders

The real one-file Canvas game from the SanzCloud Arcade, embedded here without the production analytics and score hooks.

One document, full game loop

This game was the best portable Arcade slice: HTML, CSS, graphics, input, collision, bitmap type, and Web Audio all live in one document. The local copy only removes lobby plumbing, so the playable system remains the upstream game.

Move with A/D or the arrow keys. Fire with Enter, pause with Space, and mute with M. The on-screen controls work on touch devices.

Arcade game
Andromeda Invaders 0.9.0
Renderer
Canvas 2D primitives
Dependencies
None in this embed
License
MIT, Susam Pal

The game is sandboxed inside this page; keyboard focus moves into it after a click.

What the implementation demonstrates

Procedural pixel art: player, enemies, projectiles, and boulders are rectangles drawn at integer coordinates. No sprite sheet is required.

Geometry as game logic: the same width/height constants drive both drawing and axis-aligned collision tests, so the visible shapes and hit boxes stay synchronized.

A complete tiny rendering stack: an 8×16 bitmap font renders score and status text; the canvas scales responsively while retaining its 640×480 coordinate system; oscillators and gain envelopes synthesize sound.

Production idea: when drawing, input, timing, and collision all share one coordinate model, a small Canvas system can remain understandable even after it becomes a complete game.

Embedded from arcade/site/games/space-invaders/index.html. Andromeda Invaders is MIT licensed, © 2022–2023 Susam Pal; the Arcade copy adds SanzCloud lobby integrations, removed from this isolated embed.