Skip to content

OCR GCSE J277 · OCR A Level H446

Learn to program by building games

A programming book for GCSE and A Level Computer Science. Start with a text adventure, then build ten complete arcade games in Python, one stage at a time.

10complete game series
140step-by-step stages, each one runnable
1,000+automated tests in the finished games
62chapters, from "Hello, World!" to A* search

Where do you start?

GCSE, never programmed

  1. Tools: chapters 0.1–0.4 and 0.7
  2. Part 1A: Starting from Zero
  3. Part 1B and 1C: the Castle Adventure
  4. Part 1D: your first graphical game, after the exams

GCSE, some Python

  1. Tools: chapters 0.1–0.4 and 0.7
  2. Part 1B: GCSE Core
  3. Part 1C: the complete Castle Adventure
  4. Part 1D: Bridge to A Level

A Level, never programmed

  1. Tools: all of Part 0
  2. Part 2A: Fast Track, ending with the object-oriented Castle Adventure
  3. Part 2B: Common Core
  4. Part 2C to 2E: units, SQL and your NEA

A Level, after GCSE Computer Science

  1. Tools: chapters 0.5–0.8
  2. Chapter 32: the object-oriented Castle Adventure
  3. Part 2B: Common Core
  4. Part 2C to 2E: units, SQL and your NEA

The parts of the book

Part 0Tools of the TradeSet up Python, learn the command line, and keep your work safe with Git and GitHub. GCSE students need 0.1–0.4 and 0.7; A Level students need all of Part 0.8 chapters
Part 1AStarting from Zero (GCSE)For complete beginners. Text-only. Every chapter shows Python beside OCR Exam Reference Language.6 chapters
Part 1BGCSE CoreThe J277 Paper 2 programming content, one chapter at a time, with the Castle Adventure growing alongside.15 chapters
Part 1CGCSE Projects and Paper 2 ProgrammingBring everything together in a complete text game, and practise the programming questions in Paper 2.3 chapters
Part 1DBridge to A Level (after the GCSE exams)Graphics arrive. Students set up pygame-ce and GitHub, build the first six stages of Rivet Rush, and meet OOP for the first time.4 chapters
Part 2AA Level Fast TrackFor A Level students who have not programmed before. GCSE Computer Science students can start at Chapter 32 or Part 2B.5 chapters
Part 2BCommon CoreIdeas that every game series teaches. Each is explained once here, with examples from several series.8 chapters
Part 2CSignature UnitsEach unit is the stages only one series teaches. Start from the pack's previous stage folder, so you don't have to build the whole game.9 chapters
Part 2DSQL from PythonWriting SQL queries is programming, so it stays. Database theory is left to other resources.1 chapter
Part 2EThe Programming Project and Paper 2Plan, build and evaluate your own game, and practise the programming questions in Paper 2.3 chapters
AppendicesAppendicesReference material.5 chapters

The games

Every series is a complete game, built in fourteen stages. Each stage folder in its code pack runs on its own, so you can join at any stage.

This is a free sample: log in for every book →