Updated · By Pete Bromfield, former Head of Maths with IB examining experience

IA idea · Games & puzzles

How many different games of noughts and crosses are there?

AA SLAA HLAI SLAI HL Solid Also in: Pure maths, Probability

Research question

How many possible games of noughts and crosses are there, how many distinct end positions, and how does using symmetry reduce the count?

Make it yours, then agree it with your teacher.

Next step: plan this IA free — the planner opens with this question filled in. For feedback on your own draft, the IA package (€39 once) gives you 5 AI feedback credits and every annotated exemplar in full.

Why it makes a good exploration

The famous answer (255,168 games) depends on careful counting of games that end early. Building the count yourself, then using the board's symmetries, is a counting-principles investigation you can check by computer.

The mathematics you'll need

  • Permutations and the multiplication principle
  • Counting with restrictions (games ending early)
  • Symmetry (rotations and reflections)
  • Probabilities of outcomes under random play

Where the data comes from

Verify counts with a short program or careful case analysis.

A possible outline

  1. Give an upper bound (9!).
  2. Refine by counting games that end early.
  3. Use symmetry to count distinct positions.
  4. Compute outcome probabilities for random play.
  5. Reflect on perfect play (always a draw).

Pitfalls that cost marks

  • Double-counting positions reached by different orders.
  • Unverified counts.
  • Confusing games with positions.

Showing personal engagement

  • Play random games and compare frequencies with your probabilities.
  • Extend to 4×4 or connect-three variants.
  • Explain the winning strategy for the first player to force at least a draw.

See Criterion C: personal engagement for what examiners look for.

Which course is it for?

CourseFitMaths to lean on
AA SLGood fitPermutations and the multiplication principle; Counting with restrictions (games ending early)
AA HLGood fitPermutations and the multiplication principle; Counting with restrictions (games ending early)
AI SLGood fitPermutations and the multiplication principle; Counting with restrictions (games ending early)
AI HLGood fitPermutations and the multiplication principle; Counting with restrictions (games ending early)

Level: Solid. Needs some independent work beyond class examples. See how the IA differs between AA and AI, SL and HL.

How this idea reaches the top bands

Reflection (D)

For this idea, start with the weak points: double-counting positions reached by different orders; and unverified counts. Say how each one affects your answer.

Use of mathematics (E)

SL: permutations and the multiplication principle; counting with restrictions (games ending early); symmetry (rotations and reflections); probabilities of outcomes under random play, each explained in your own words and carried out correctly.

How games & puzzles explorations reach the top bands in general: Games & puzzles IA ideas. Guides: A · B · C · D · E · self-grade sheet.

Taking it further

Compute the probability that the first player wins under random play and compare with simulation.

Extending it for HL

Add an HL technique the question genuinely needs: what an HL games & puzzles exploration adds.

Frequently asked questions

Which IB Maths course is this IA idea for?

It works for AA SL, AA HL, AI SL and AI HL. We rate it Solid: it needs some independent work beyond class examples.

What mathematics does this IA use?

Permutations and the multiplication principle, counting with restrictions (games ending early), symmetry (rotations and reflections) and probabilities of outcomes under random play.

Where can I get data for this IA?

Verify counts with a short program or careful case analysis. Checked sources and tools: OEIS (On-Line Encyclopedia of Integer Sequences).

Turn this idea into your IA

The planner opens with “How many different games of noughts and crosses are there?” filled in: the question, the maths and the data sources.

Plan this IA free

Your plan is kept in this browser. A free account keeps it with your drafts on any device: Join free · Sign in

Also: free IA self-check · A–E checklist (PDF) · have a draft? AI feedback or a review with Pete (€100)

Writing it up: how to write a Maths IA, step by step · structure and format · mistakes that cost marks · annotated exemplars, marked on every criterion

Similar ideas

All games & puzzles ideas · AA SL ideas · AA HL ideas · AI SL ideas · AI HL ideas · All 239 IA ideas