Skip to content
Spectrum · Assembly · Game 02 Z80 ● 20 of 20 units live

Gloaming

Dusk in a small square. Light every lamp before the dark wins. The first complete game you finish in assembly.

What you'll build

Dusk is falling on a small walled square, and the lamps are out. You're the lamplighter: move from lamp to lamp and light each one before the dark — a cold draught drifting through the square — snuffs them out. Light them all and the night is held back. Run out of lives and night falls.

A single screen, one character, drawn entirely in the Spectrum's attribute colour — in the lineage of Ultimate's 1983 single-screen classics (Jetpac, Pssst, Cookie): small, finished, and complete. It's the first game you finish in assembly, built on the foundations from Meet the Machine.

Why it's small on purpose

Gloaming earns its place by being complete, not ambitious. It introduces only the two load-bearing techniques a first game needs — a frame-locked game loop, and a cell-based moving sprite with collision — and nothing heavier. Everything later games add (smooth movement, masking, depth) is deliberately held back, so you can stand back at the end and say: I finished a game, in assembly.

It's also the root of the track's "build the simple version first" approach: the jerky cell-step movement, the single beeper blip, the coloured-pip score — each is the honest "before" that a later game revisits and upgrades.

Where it sits

After Meet the Machine, before Shadowkeep. All twenty units are complete — from the first attribute write to a finished game verified on real hardware.

Unit roadmap

Phase 1

A character on a screen

The loop begins — attributes, a glyph, the heartbeat, the keys

Units 1–4 Complete
Phase 2

Honest movement

Cell-step movement, save/restore, collision, edges

Units 5–8 Complete
Phase 3

The game

Lamps, lighting, a tally, the win

Units 9–12 Complete
Phase 4

Jeopardy

The draught, lives, the fall of night

Units 13–15 Complete
Phase 5

Make it finished

Title, sound, atmosphere, play-again, real hardware

Units 16–20 Complete