Bomb Defusal
A bomb is ticking — cut the right wire before the countdown hits zero.
A bomb is ticking. A big block digit counts down in the centre of the screen — white when safe, yellow in danger, red when time is almost up. A fuse burns across the middle, shrinking with each tick. Four coloured wires run across the bottom. Press 1, 2, 3, or 4 to cut a wire. Cut the right one and the bomb is defused. Cut the wrong one and it explodes. Five bombs, each one faster.
What You’ll Learn
- CLS — clearing the screen between bombs
- PRINT AT — placing text, wires, and the fuse at exact positions
- PAUSE — timing the countdown ticks
- BEEP — escalating tension with rising pitch
- INKEY$ — reading the keyboard instantly, no ENTER needed
- Block-pixel digits — reusing the digit renderer from Game 1
Prerequisites
Complete Game 1: Lucky Number first. You’ll need PRINT, LET, IF/THEN, GO TO, and RND.
Unit Roadmap
Bomb Defusal
Cut the right wire before time runs out
The Game Screen
Build the game screen with header bar and PRINT AT — the digit renderer arrives as a type-in.
Four Wires
Draw four thick coloured bars across the screen using PRINT AT with PAPER.
The Countdown
A FOR loop counts down, drawing big block digits with PAUSE between ticks.
Tick Tick Tick
Add BEEP rising in pitch and border colours shifting from safe to danger.
Cut a Wire
INKEY$ reads the keyboard instantly — press 1-4 to cut a wire before time runs out.
The Fuse
A burning fuse shrinks each tick with a cycling red spark at the end.
Five Bombs
Five rounds with RND, each bomb faster than the last.
The Finished Game
Title screen, results with animated score and ratings, the complete game.