Why Block Coding?
Coding is simply giving clear, step-by-step instructions, and children are ready for it much earlier than most adults expect. The hard part for young learners is not the thinking but the typing: one missing bracket and a written program refuses to run. Blocks remove that barrier. Every instruction is a coloured piece that only fits where it makes sense, the numbers sit in little white boxes, and the result appears on the stage straight away. Children can spend their energy on the ideas that matter in computing: putting steps in the right order, repeating, reacting to events and finding mistakes.
Capy’s Code Studio is an open workshop rather than a puzzle with one answer. Capy the capybara is the character your child programs. Make Capy stroll across the park and wave, glide to the corner of a classroom, bounce around outer space forever, or put the pen down and turn a few blocks into a square, a star or a flower of overlapping shapes.
What Children Learn
- Sequence. A program runs from the top block to the bottom one, in order. Swap two blocks and something different happens, which children discover very quickly when Capy turns before moving instead of after.
- Loops. “Repeat 4 times” saves writing the same two blocks four times, and “forever” keeps going until you press Stop. Spotting the repeating part of a pattern is the same skill as in maths patterns.
- Events. Scripts can start when Go is tapped, when Capy is tapped or when a key is pressed. Several scripts can run at the same time, so one can play music while another moves Capy.
- Conditions. “If touching edge then” only runs its inside blocks when Capy reaches the side of the stage, the first step towards making games.
- Debugging. When a drawing does not close or Capy runs off in the wrong direction, children read the program, predict, change one number and try again. That patient habit is the heart of programming.
- Maths: angles and coordinates. The pen turns geometry into something you build. To draw a regular shape, the turns must add up to a full turn of 360°, so a square needs four turns of 90°, a triangle three turns of 120° and a hexagon six turns of 60°. The stage is a coordinate grid from −240 to 240 across and −180 to 180 up, and the readout under it shows Capy’s x, y and direction.
How to Use the Studio
- Choose a group of blocks. The coloured tabs open Start, Move, Looks, Sound, Loops and Pen. On a phone, swipe sideways along the tabs and the blocks.
- Build a script. Drag a block into the scripts area. Drop another just below it and it snaps on. Loop blocks open like a mouth: drop blocks inside them. To remove a block, drag it back to the blocks or onto the bin; the blocks under it come along.
- Tap to add. On a small screen it is often easier to tap. Tap a script to select it (a dashed outline shows which one), or tap a loop to select its inside, then tap blocks to add them to the end.
- Change the numbers and words. Tap a white box in a block to type a new number or message, or pick a sound, key, pose or colour from the list.
- Run it. ▶ Go starts every script that begins with “when ▶ Go is tapped”. ■ Stop halts everything at once, even a forever loop. Reset puts Capy back in the middle and clears the pen drawing.
- Pick a backdrop. The park, outer space, the classroom, or the coordinate grid, which has the axes marked and is the best one for drawing and for working out where Capy will end up.
The Blocks
Start blocks go at the top of a script: when Go is tapped, when Capy is tapped, and when a key is pressed (the arrow keys, space or a letter; on a phone, little arrow buttons appear under the stage). Move has move steps, turn right and left, go to x and y, glide to a point, point in a direction and bounce off the edge. Direction 90 points right, 0 points up, 180 points down and −90 points left. Looks has say and think bubbles, three poses for Capy (stand, walk and jump), change colour, change and set the size, show and hide. Sound plays one of thirteen short sounds. Loops has wait, repeat, forever and if touching edge. Pen has pen down and up, the pen colour and size, and clear.
The Ten Challenges
The challenges climb gently. Hello Capy asks for a walk and a greeting. Then come the shapes: a square, an equilateral triangle, a hexagon, a five-pointed star and a circle made of 36 tiny steps and turns. Bounce makes Capy ricochet round the stage forever, Dance mixes poses and sounds, Arrow keys turns the program into a little game, and Pattern art is a free design. Capy checks most challenges by itself: it looks at the lines the pen really drew and tests that the shape closes up with equal sides and equal turns, or it counts the bounces, sounds and key presses. Pattern art is judged by the artist, with an “I did it!” button. The hint button gives a nudge without giving the answer away, and Show me an example loads one possible program to study and change. Your own blocks are kept, so Bring back my blocks puts them back.
Practice Problems for Regular Coding Practice
The Practice tab, next to Challenges, holds 45 short code problems in three levels: Starter for ages 6 to 7, Explorer for ages 8 to 9 and Expert for ages 10 to 12. Each level mixes five kinds of problem. In Reach the star, Capy has to walk to a star, sometimes collecting numbered stars in order and steering round brick walls; Capy stops with a bump if it touches one. In Draw the ghost, a faint shape sits on the grid and the pen path must cover it exactly, in any order. Fix the bug gives a program that almost works: a wrong turn, a loop that repeats too few times, or the pen put down too late. Predict shows a program as blocks and asks what Capy will draw, where it will end up or what it will say, before running it to check. Fewest blocks asks for the same result with a block limit, which is where loops really pay off. Starter problems use only moves and right-angle turns; Expert problems need turns of 72° and 144° and loops inside loops.
Capy checks each answer as soon as the program stops. Hints come in two steps, a nudge and then a clearer clue, and a solution can be shown after a hint or two wrong tries. One star means solved, two means solved without a hint, and three means solved without a hint on the first go, so children can come back to earn the full set. Progress is kept on this device, and Print a practice sheet makes a page of eight problems from the chosen level for pencil and paper, with an answer page.
The Maths Behind the Shapes
When Capy draws a shape and arrives back at the start facing the same way, it has turned all the way round once: 360 degrees. Share 360 equally between the corners and you have the turn for any regular shape: 360 ÷ 4 = 90 for a square, 360 ÷ 5 = 72 for a pentagon, 360 ÷ 6 = 60 for a hexagon. The turn Capy makes is the outside angle of the shape, not the inside one, which is why a triangle needs a turn of 120° even though its inside corners are 60°. A five-pointed star turns 144° at each point and goes round twice, 720° in all. These are the same ideas as the angle work in upper primary maths, met in a way children remember because they watched them happen.
The Unplugged Worksheet
Print an unplugged worksheet gives a page of coding questions to do with a pencil, and a separate answer page. Children read printed block programs and say what Capy will draw, fill in a missing turn, work out how many times a loop must repeat, find where Capy ends up on a coordinate grid, spot the bug in a program that should draw a square, count how many times a nested loop runs, and write a program of their own for a rectangle. The numbers change every time, so a class can have several different versions, and unplugged practice like this builds the habit of predicting what code will do before running it.
Ideas for Home and the Classroom
- Be the robot. Before using the studio, one child reads out a block program and another walks it on the floor, a step per move and a quarter turn for 90°.
- Predict first. Load an example, cover the stage and ask what Capy will do. Then press Go and compare.
- Change one number. In the square example, change 90 to 72 and repeat 5 times. What appears? Now try 60 and 6, and make a table of shapes, repeats and turns.
- Name the bug. Give a program with one mistake and ask children to fix it and explain the fix in a sentence.
- Make a game. Older pupils can join arrow-key scripts, a bouncing forever loop and sounds into a small game, and then write instructions for a friend.
Saving and Sharing Work
The blocks you are working on are kept on this device automatically, so a project is still there after the page is closed. Type a name and press Save to keep a project in My projects, and load it again at any time. Export file saves a small project file that can be emailed to a teacher or moved to another device, and Import file opens it again. Nothing is uploaded, and there is no account. The sounds are made by the page itself and can be turned off with the sound button, and the page follows the reduce-motion setting on your device for its decorations, while Capy still moves as the program says.
Frequently Asked Questions
It is made for children from about 6 to 12. Younger children can snap two or three blocks together to make Capy walk and talk, or load an example and change the numbers. Older children write their own programs with loops and events, and use the pen to draw squares, triangles, stars and circles, which is where the angle maths comes in.
The Coding Robot Maze is a puzzle: there is one goal square and a short list of arrow moves to plan. The Code Studio is open-ended. Children build their own programs from 28 blocks, run several scripts at once, react to taps and keys, draw with a pen, and make anything they like: a dance, a drawing, a small game.
Yes. The blocks on the screen are kept on this device automatically, and My projects keeps as many named programs as you like. Export file saves a small project file that can be moved to another device and opened again with Import file.
Yes. There is no account, no sign-up and no limit. The printable unplugged coding worksheet, with a separate answer page, is free too and is different every time you print it.