This is a re-implementation and partial re-design of the 1984 text adventure L: A Mathemagical Adventure, which was created by the late Richard Phillips, supported by colleagues from the Association of the Teachers of Mathematics (ATM), who also published it.
Although aiming to be entertaining, L was primarily developed to encourage an interest in mathematics among 10-14 year olds. At that time, it was envisaged that the game would be played by groups of pupils in school, with teachers on hand to give basic guidance and encouragement. A hint system has been introduced in this updated version, but playing this game by yourself is still likely to be a challenge for those of any age! Feel free to ask for further hints.