Overview
A fully playable digital version of the classic Mastermind code-breaking board game, built with Python and Pygame as the rendering engine.
The game faithfully recreates the original board game experience — one player sets a secret colour code, the other attempts to guess it within a set number of turns using colour and position feedback pegs.
Features
- Single-player mode — play against a computer code-setter
- Multiplayer mode — pass-and-play on the same machine
- Save & load — game state is serialised and can be resumed later
- On-screen peg board with smooth Pygame rendering
Tech Stack
Python · Pygame · OS · datetime · random