Do you have what it takes to be a code breaker?

Code Break promo

Take on the role of codebreaker as you uncover secret messages in Codebreak, the brand new web app from the Open University created for Maths Week Scotland.

Codebreak features three levels, each increasing in difficulty level. The first level involves cracking the Pigpen cipher. Pigpen ciphers are simple substitution ciphers where each letter is replaced with a letter, picture or symbol. The second level is a Caesar cipher where letters have been substituted for another letter in the alphabet by shifting the alphabet along by a certain number of places. The final level requires frequency analysis. Codebreakers use their knowledge of the English language to identify most common letters and pairs of letters to find the message.

The app is designed for ages 13 and up, however younger codebreakers could tackle it with support and hints. There are more than 20 different messages so this can be played again and again!

For anyone interested in finding out more about the history of codebreaking the Open University has free resources including the story of Colossus (the world’s first programmable computer, made at Bletchley Park), and The Bletchley Park Connection.

Take a look at a real Enigma Machine at the National Musuem of Scotland or see the inner workings online. If you are visiting National Museum of Scotland try this coded trail in which the team have hidden the names of six exhibits.

The Codebreak app was funded by the Maths Week Scotland Grants Fund. Other organisations which received funding were Dynamic Earth, Maths Inside, University of Edinburgh, Dumfries and Galloway Council, SSERC and Aberdeen Science Centre.

Latest News and Events

News

Maths Week 2025 - Wild Maths Highlights

We have enjoyed seeing what everyone got up to for Maths Week Scotland this year, in particular the different ways everyone was inspired by this year's theme of 'Wild Maths'. We've picked out a few highlights to share.

News

Scottish Museums Day 2025

For Scottish Museums Day (3 October) we’ve rounded up some of our favourite activities from museums from across the country, from this year's Maths Week Scotland.

13th Dec
Event

Maths Play Club with Number Berries

Oxgangs Library, Edinburgh | | Free
Number Berries is excited to welcome all young mathematicians (ages 5–12) back to Maths Play Club. Every 2nd Saturday of the month from September to December 2025.