Winter is here, the holidays are close, and our Scratch students at CodeSky in Markham have been building cozy holiday games. Each one looks simple on the screen, but under the hood there is a real coding idea: a list, a loop, a little bit of math, and a moment where your child has to think like a programmer.
Here are three games from this season, how each one is built, what it teaches, and one small change you can try together at home.
1. Ornament Drop: where will most ornaments land?
At a snowy Christmas market, 40 ornaments fall through a peg board. Every peg bounces an ornament left or right, and each ornament lands in one of 7 bins. Before the drop, the player picks the bin they think will fill up the most, then presses GO.
How it is built: a list called bins holds 7 zeros. For each ornament, a variable called bin starts at 1. A repeat 6 loop runs once for every peg, and each time it adds pick random 0 to 1. When the ornament reaches the bottom, the game adds 1 to that item in the list. After 40 drops, a second loop looks through the list to find the fullest bin and checks the player's pick.
What we notice: the middle bin usually wins. It is not just luck. There are more paths that lead to the middle than to the edges, because an ornament only reaches an end bin if it bounces the same way at every single peg.
Try this together: add a seventh row of pegs. Which bin wins now?
2. Sleigh to Grandma's: which way should the sleigh go?
On a snowy farm-country map, a sleigh has to stop at three farms (the barn, the mill and the cottage) and then drive on to Grandma's house. The player chooses the order. Finish in less than 90 miles and you win.
How it is built: when the player clicks a farm, the game measures that farm's distance to the sleigh, rounds distance / 10, and adds it to a miles variable. Then the sleigh glides there while the pen draws the road behind it. After three farms, the game adds the distance to Grandma's, glides there, and checks: if miles is less than 90, the player wins.
What we notice: the same three farms can give very different totals. In our game, barn, mill, cottage came to 109 miles. Mill, cottage, barn was only 80. The order is the whole puzzle.
Try this together: drag the barn to a new spot on the map. Which order wins now?
3. Fill the Dance Floor: a New Year's Eve party game
A family party hall has a light-up dance floor of 25 tiles in four colours. The player owns the top corner, and the goal is to own every tile.
How it is built: one Tile sprite makes 25 clones, and each clone gets a random colour from a list. When the player picks a colour, every tile they own turns that colour. Then any touching tile with that same colour joins them. The game repeats that check until nothing new joins.
What we notice: good choices grow fast. In our round we started with 2 tiles. Purple made 7, blue made 13, pink made 19, gold made 23, and purple again filled all 25 in 5 moves. Picking the colour that grabs the most tiles each turn is what makes the floor fill quickly.
Try this together: set the number of colours to 3. Does the floor take fewer moves, or more? Play a few rounds and count.
How these games help kids think like programmers
Every game above follows the same rhythm we use in class: play it, see why it works, change it, then design your own. That rhythm builds computational thinking, the way of thinking behind all programming:
- Breaking a problem into steps. "Drop an ornament" becomes start at bin 1, bounce six times, add one to the list. Kids learn that big ideas are made of small, clear steps.
- Spotting patterns. Watching the middle bin win again and again helps kids see a pattern and ask why, which is the start of real reasoning.
- Planning before acting. Sleigh to Grandma's rewards the player who thinks about the whole route before the first click.
- Using lists and loops. Bins, colours and tiles all live in lists, and loops do the repeating work. These same ideas come back later in Python and JavaScript.
- Testing and changing. Each "try this together" question asks kids to change one thing and predict what happens. That is how real programmers test their ideas.
Tips for parents
- Ask your child to explain the rules of the game before they build it.
- When something does not work, ask "what did you expect to happen?" instead of fixing it for them.
- Play their finished game and give one friendly suggestion. Kids love a real player.
Build a holiday game with us in Markham
At CodeSky, kids build games like these in small, personalized classes. Classes have mixed levels, so every child starts at their own level, and you can join anytime. We are at 9833 Markham Rd, Unit 2, Markham, open Monday to Friday 5 to 8pm and Saturday and Sunday 1 to 8pm.
Book a free trial class and let your child build their first winter holiday game with us.