I initially built this via the Assistant API, and then ported over to the new GPTs creator once that became widely available today.
In addition to the source material, I created the outline of a curriculum in collaboration with the new, giant-context GPT4 beta, as well as a set of gameplay mechanics. As you progress, you get awarded things like honorary titles, coins, etc. At first these were Emoji, but then I realized that with DALL-E enabled in the bot, I could have it generate the artwork on-the-fly in the 16bit RPG aesthetic I was after. It works in a kind of pseudo-Scheme language, and seems able to 'evaluate' your answers.
Anyway, this is just for fun and I'd love to hear what you think. Given the standard limitations of LLMs, there's sure to be the odd hallucination here and there – but, I've found it to be pretty fun. It can adapt to your skill level, and at the base-level I was aiming for something that even a 9 year old would have fun playing.
1: SICP is licensed under Creative Commons Share Alike.