Skip to content
Spectrum · BASIC · Game 10 BASIC ● 6 of 6 units live

Quiz Master

Four categories, eight questions, a climbing score, and a title to earn. The quiz grows by adding DATA — change the content, not the code.

ZX Spectrum Quiz Master: a green 'Animals' header bar with a running score of 0/8 above a white question card with four numbered options
What you will build: a colour-coded category quiz that reads its questions from DATA.

Quiz Master is a category quiz. Four subjects, two questions each. Get one right and your score climbs. Get all eight and you earn the title — Quiz Master.

This is the second game in Volume 2 — Patterns of State. Cipher used DATA as a list you read straight through; Quiz Master adds the idea that organises the rest of the volume: the array. DIM makes a row of numbered boxes you reach by position — here, an answer key the scorer checks against — and RESTORE <line> jumps the DATA pointer to a chosen section, so the questions can be grouped into categories.

Everything else you already have. INPUT, a score counter, PRINT AT layout, PAPER colour, BEEP, ratings, a title and replay all came from Volume 1 and Cipher. Quiz Master arranges them around its new backbone — indexed storage.

What you will build:

  • A multiple-choice question, then a scored round driven by an answer-key array (the new idea)
  • Categories — RESTORE <line> jumps to each section of DATA, read header then questions
  • A colour-coded question card, with BEEP for right and wrong
  • A per-category score breakdown, held in a second array, and a rating
  • The title you earn at 8 out of 8 — and a replay
  • The design concept: indexed storage — data you reach by position

6 units. About 5–7 hours. This builds on Meet BASIC and Volume 1 — earlier games assumed.

Unit roadmap

Phase 1

Questions

One question, then a scored round driven by an answer-key array

Units 1–2 Complete
Phase 2

Structure

Categories from DATA sections, and a colour-coded question card

Units 3–4 Complete
Phase 3

Results

A per-category breakdown, a title to earn, and replay

Units 5–6 Complete