Code Sketch


coding of Robot in kojo by Amol Naik
By: Amol naik
Category: Programming
clear()
setFillColor(red)
setSpeed(fast)
right(90)
forward(200)
left(180,80)
forward(200)
left(180,80)
left()
hop(30)
right(90)
setPenColor(black)
setFillColor(black)
forward(200)
left(180,50)
forward(200)
left(180,50)
left()
hop(30)
setPenColor(white)
setFillColor(white)
right()
circle(20)
left()
hop(10)
setPenColor(black)
setFillColor(black)
right()
circle(20)
right()
hop(10)
left()
hop(200)
left()
setPenColor(white)
setFillColor(white)
right()
circle(20)
left()
hop(10)
setPenColor(black)
setFillColor(black)
right()
circle(10)
left()
hop(10)
left()
hop(100)
right()
hop(80)
setPenColor(black)
setPenThickness(15)
forward(30)
setPenThickness(3)
setFillColor(yellow)
right()
circle(20)
right()
hop(200)
setPenColor(black)
setPenThickness(50)
forward(40)
left()
setPenThickness(25)
setFillColor(black)
forward(150)
right()
forward(150)
right()
forward(300)
right()
forward(150)
right()
forward(150)
hop(150)
right()
setPenThickness(5)
setFillColor(red)
circle(20)
left()
hop(25)
setPenThickness(15)
right(35,10)
forward(55)
setPenThickness(5)
setFillColor(red)
circle(16)
left()
hop(25)
setFillColor(white)
setPenThickness(10)
forward(40)
setPenColor(red)
forward(5)
right(69,10)
circle(25)
left()
forward(8)
setPenThickness(10)
setPenColor(white)
forward(50)
left()
hop(450)
left(103)
hop(200)
setPenThickness(5)
setFillColor(red)
setPenColor(black)
left(180)
circle(20)
left()
hop(25)
left(35 ,15)
setPenThickness(15)
forward(50)
setPenThickness(5)
setFillColor(red)
left(35 ,15)
circle(16)
setPenColor(black)
left()
hop(30)
setPenThickness(10)
forward(20)
setPenColor(red)
setFillColor(black)
right()
circle(25)
left()
hop(8)
setPenColor(black)
forward(50)
hop(30)
left()
setPenThickness(5)
setPenColor(white)
forward(50)
right(130)
forward(50)
left(180)
forward(25)
left(75)
forward(25)
right(210)
hop(50)
right(250)
forward(45)
right(135)
forward(22)
right(280)
forward(22)
right(120)
forward(45)
left()
hop(35)
circle(20)
hop(40)
forward(40)
forward(-40)
left()
forward(35)