Turning Lessons into Games: My Journey with Canva Code
Monday 21st July 2025
This is the third in a trilogy of posts about using AI to build web apps, to use as resources in the classroom. My previous creations and experiments have been incredibly varied, whilst today will remain focused on the idea of building educational games, how gamification can help a classroom and how Canva can be used to build these resources.
Introduction
Earlier this year, I began building resources to aid with teaching, mainly simulators and demonstrations to act as a visual representation of more abstract concepts that could be shared with pupils for them to refer back to. However, occasionally I would attempt to build a type of game for the pupils to use as a revision exercise, usually based around answering questions. A good example of this is my OCR GCSE Minesweeper Game which acted as an additional method of knowledge revision, but in a fun and interactive way.
There is a strong need for gamified elements within the classrooms. It feels like almost every lesson, pupils ask to play a Blooket quiz or they ask if they can play games. After making the GCSE Minesweeper Game, I had an idea to try incorporating games that the pupils like, but with educational elements. And as seen with the Minesweeper Game, AI seemed like the quickest way to go, without putting more workload onto an already busy year. That’s where CanvaCode enters the story. A tool that let me turn my lesson content into full-on playable games.
Gamification
Gamification refers to taking lesson activities and introduce ‘game’ mechanics to make the lessons more engaging for pupils. Some of the advantages of gamification include:
- Increased engagement with pupils
- Retention through repetition
- Motivation via competition and/or rewards
- Natural Differentiation
One way that this can be done by using existing activities and introducing a scoring system and leaderboard. This promotes healthy competition between pupils in the class, and a reward can be offered later.
Enter Canva Code!
With this growing interest in gamification, I began to explore which tools could help me bring these ideas to life easily… Which is where Canva Code came into play.
The Game Development Process
I started simple, with a Matching Game where pupils 1) match up the tool with its description and 2) match up a scenario with what tool you would use.
Prompting
Throughout all of this process, I refined my ‘core prompting phrases’ to control and guide the output towards a desired output. Here are a few of the tricks I learnt to get better control and better outputs over the Canva Code generations.
- As these games rely on the educational aspect for use in the classroom, I needed to ensure that the information was correct. Before getting Canva Code to generate any code, I asked it to detail what the game would be like and what the educational questions / answers would be. This allowed me to check for Hallucinations.
Before you generate any code, I would like you to describe the features of the game in detail, and show me what educational question/answers you are going to use
- After the initial generation of the game, the next steps for refinements and improvements through play testing. Typically, the initial results were very simplified, so (after all the gameplay mechanics had been tested), I would ask Canva Code to:
improve the style to make it more modern, incorporating clear colours, clear text, clear graphics and animations.
Reflections
One of the unexpected strengths of these games was how naturally they supported Differentiation. Due to the level-based and self-paced nature of these games, pupils could progress at their own speeds. The visual and interactive nature of the games supported a broader range of learning styles, removing the sometimes text-heavy approaches of traditional worksheets. Pupils with SEND responded well to the gamified elements and it led to some really great lessons for them.
A webpage containing all my resources can be found at resources.thetommyverse.com