0.1 How to use this book¶
Suggested time: 15 minutes · You need: nothing yet
What this book is¶
This is a book about programming, taught through games. It covers the programming content of two Cambridge International syllabuses:
- Cambridge IGCSE Computer Science (0478): Paper 2 (Algorithms, Programming and Logic), taught as a text-only adventure game.
- Cambridge International AS & A Level Computer Science (9618): Paper 2 (Fundamental Problem-solving and Programming Skills), the Paper 4 practical, and the programming in Paper 3, taught through ten complete arcade games.
Topics that are theory only (such as processor architecture or networks) are left to your other resources. This book is for the part of the course where you write code.
Check the syllabus yourself
The syllabus references in this book (such as 0478 8.1.4(e) or 9618 19.1) are the author's understanding of
the Cambridge IGCSE Computer Science (0478) syllabus for 2026 to 2028 (version 6) and the Cambridge International
AS & A Level Computer Science (9618) syllabus for 2027 to 2029 (version 2). Cambridge updates its syllabuses from
time to time, so check the current one on the Cambridge International website before relying on a reference for
revision.
Find your route¶
Everyone starts with Part 0 (the chapter you're reading), then goes a different way:
| You are… | Part 0 chapters | Then |
|---|---|---|
| A IGCSE student who has never programmed | 0.1–0.4 and 0.7 | Part 1A → 1B → 1C → 1D after your exams |
| A IGCSE student who has done some Python | 0.1–0.4 and 0.7 | Part 1B → 1C → 1D |
| An A Level student who has never programmed | All of Part 0 | Part 2A → 2B → 2C → 2D → 2E |
| An A Level student who took IGCSE Computer Science | 0.1, then 0.5–0.8 | Chapter 32 → 2B → 2C → 2D → 2E |
The home page has an interactive version of this table.
Two kinds of material: the book and the workbooks¶
The book (what you are reading) explains ideas. The game series are workbooks: each one builds a complete game in fourteen stages, with a Word document for every stage and a code pack.
Most chapters end with a Build it box that tells you which workbook to open next:
Build it
Circuit Crawler Stages 5–9; start from the stage_04 folder in Circuit Crawler/Circuit_Crawler_code_pack.zip.
That box means: open the Circuit Crawler workbook, go to Stage 5, and use the finished Stage 4 code as your starting point.
Every stage runs on its own¶
Inside every code pack is one folder per stage (stage_01, stage_02, …). Each folder contains a
complete program that runs by itself, together with its own copy of the pictures and sounds it needs.
So you can:
- start a series part-way through, by copying the previous stage's folder;
- catch up if your own code breaks, by copying the next stage's folder;
- compare your code with the finished version at any point.
Type the code yourself
You learn far more by typing the code than by copying it. You will make mistakes, and fixing them is part of learning to program. The finished folders are there so you can compare and catch up, not so you can skip ahead.
How each chapter is laid out¶
Chapters follow the same pattern as the workbooks, so you always know where to look:
- What you will do, and how long it should take.
- Learning objectives: what you will be able to do by the end.
- Key vocabulary: the words you need, which often come up in exams.
- The big idea: the main concept, usually with an example.
- Step-by-step guide: the code or commands to type, in small steps.
- Check your understanding, with answers you can reveal.
- Summary.
What the coloured panels mean¶
What's happening?
Explains the code or commands you have just typed, line by line.
Tip
Useful advice and short-cuts.
Warning
Common problems, and how to avoid them.
Checkpoint
What you should see when you run the program at this point. Don't carry on until you see it.
Your turn
A task for you to do.
Concept: the name of an idea
How it works: how the idea works.
Why we use it: why it's used here, and what the alternatives are.
Where else it's used: where the same idea appears in other programs and other parts of the specification.
Windows or Mac?¶
Commands are different on Windows and on macOS, so they are shown in tabs. Choose your system once and every tab on the page switches with it.
When a box shows what the computer prints back, it is labelled Output. In examples the user is
called alex; your own computer will show your own user name.
Keeping track of your progress¶
At the bottom of every chapter on the website there is a Mark this chapter as done button. Chapters you mark get a tick in the menu, and the cards for each part show how far you've got. Your progress is saved only in the web browser you're using: it isn't sent anywhere, and it won't appear on another computer.
Editions¶
The book comes as a website and as a PDF built from the same text. Your teacher may also have a teacher edition with answers and lesson plans.
Summary¶
- Part 0 sets up your tools; then follow the route for your level.
- The book explains ideas; the Build it boxes send you to a workbook stage.
- Every stage folder in a code pack runs on its own, so you can join, catch up or compare at any point.
- Pick your operating system in any tab and the whole page follows.