Mastermind

A code-breaking game

How to Play
More Math Games


Your browser does not support the canvas element.



Your browser does not support the canvas element.

How to Play

Setup

You are a code breaker.
The code consists of 4 blocks, in sequence.
Each block is one of 6 possible colors.
A given color might appear once, several times, or not at all.

Gameplay

Click the colored buttons to select a sequence of colors, then submit your guess.

  • A black dot means you guessed a correct color in the correct position

  • A white dot means you guessed a correct color in the wrong position

  • Four black dots mean you have guessed 4 correct colors in the correct positions and you win the game

  • If you make 12 guesses without earning 4 black dots, you run out of time and lose the game

Math + Python = Perfection!

Elementary Math for Computer Science with Python

An integrated approach to math and computer science instruction

Paperback Kindle