GN Math

Block Code Turtle Art Unblocked

Snap blocks together to steer a pen-carrying turtle and draw shapes, stars and a moon.

now playing: Block Code Turtle Art

Picture a pen that only moves when you tell it to, one exact step and one exact angle at a time. That is the turtle. Give it the right list of moves and turns, and a clean shape appears on the black canvas behind it.

Block Code Turtle Art unblocked is the drawing game from Blockly Games by Google. Its ten levels are really a lesson in loops, since a few repeated blocks can replace a long list of one-off steps.

How to play Block Code Turtle Art

Every level shows a pale gray outline and a short goal, such as drawing a square. Open the block categories, drag move and turn blocks into the workspace, set their numbers and press Run Program. The turtle draws a white line wherever it goes.

When your drawing lines up with the outline, you pass the level and see the JavaScript your blocks made. If the lines don't match, press Reset, adjust a distance or angle and run again.

The goals build up from a square and a pentagon to stars, a set of four stars, colored stars with connecting lines, a full moon drawn with 360 short lines, and a crescent. Pen blocks let you change color and width or lift the pen to move without drawing. The final level drops the target so you can draw anything.

Controls

To…MouseTouch
Open a block categoryClick Turtle, Loops or another category nameTap the category name
Build the programDrag blocks into the workspace and snap them togetherDrag blocks with your finger
Change a distance, angle or colorClick the value on a block and pick a new oneTap the value and pick a new one
Run or clear the drawingClick Run Program, then ResetTap Run Program, then Reset
Change drawing speedDrag the slider between the turtle and rabbit iconsSlide the speed control

Tips

  • Divide 360 by the number of sides. That gives the turn angle for any regular shape, so a hexagon turns 60 degrees six times.
  • Stars overshoot. A five-point star needs 144 degree turns, which makes the turtle cross its own lines.
  • Lift the pen between shapes. Use pen up before moving to the next spot, then pen down again before drawing.
  • Put a loop inside a loop. The inner one draws a single star. The outer one repeats that star plus the hop to the next corner.
  • Slow the turtle down. Drag the speed slider toward slow to watch exactly where a line goes the wrong way.

Block Code Turtle Art questions

How does it know I drew the right picture?

When the program ends, the game compares your lines with the gray outline. If they match, you get a success message and can move on.

Is there a free-draw mode?

Yes. The last level has no target and adds extra block types like math, variables and functions, so you can make your own art.

Will it save the levels I solved?

Yes. Finished levels are stored in your browser, so you can come back on the same device and pick up from there.

Homework: games like Block Code Turtle Art

all coding games