Code Sketch


Episode 2: What’s Next after scratch? - From block-based coding to text-based coding
By: Clinton J. Fernandes
Category: Programming
//CLINTONCODE
clear()
setSpeed(fast)
left()
hop(100)
forward(100)
right(120)
forward(100)
right(120)
forward(100)
right(120)
left(180)
hop

repeat(5) 
{
    forward(100)
    right(72)
}

hop(200)
repeat(6) 
{
    forward(100)
    right(60)
}

left(90)
hop (50)

repeat(8)
{
    forward(25)
    right(45)
}

left(90)
hop (50)

repeat (2) 
{
    forward(100)
    right(90)
    forward(50)
    right(90)
}

right()