10-year-old Minnie Piper, constantly pestered by her younger cousin Dot, is attempting to crack a code, set as a homework exercise, by her teacher Mr Impey. In particular, she wants to beat her arch rival and the 'brainiac' Jenny to the prize.