Kodla Büyü ile Kodlama – 8. Bölüm
Kodla Büyü ile Kodlama – 8. Bölüm Diziler
Merhabalar. Bu yazımızda Kodla Büyü sitesinde 66.-80. seviyelerinin görevlerin yapılabilmesi için gerekli kodları sahne sahne bulabilirsiniz. İsterseniz videomuzu izleyerek bölümlerdeki görevlerin nasıl yapıldığını görebilir ya da isterseniz aşağıdaki sunudan yararlanabilirsiniz.
Sahne 66
turtle[0].forward(3)
turtle[1].forward(3)
forward(4)
getBamboo()
forward(4)
getBamboo()
Sahne 67
turtle[0].forward(3)
turtle[1].forward(3)
turtle[2].forward(3)
forward(8)
getBamboo()
Sahne 68
turtle[0].forward(2)
turtle[1].forward(4)
turtle[2].forward(6)
forward(7)
getBamboo()
Sahne 69
turtle[0].forward(3)
turtle[1].forward(3)
forward(4)
getBamboo()
turn(left)
turtle[2].forward(3)
turtle[3].forward(3)
forward(4)
getBamboo()
Sahne 70
turtle[1].forward(2)
turtle[0].forward(2)
forward(6)
getBamboo()
turn(left)
forward(3)
turn(left)
turtle[1].forward(3)
turtle[0].forward(3)
forward(6)
getBamboo()
Sahne 71
panda[0].forward(4)
panda[0].getBamboo()
panda[1].forward(4)
panda[1].getBamboo()
Sahne 72
panda[0].forward(3)
panda[0].getBamboo()
panda[1].forward(4)
panda[1].getBamboo()
panda[2].forward(5)
panda[2].getBamboo()
panda[3].forward(4)
panda[3].getBamboo()
Sahne 73
panda[0].forward(2)
panda[0].forwardUp()
panda[0].boo()
panda[0].forward()
panda[0].forwardDown()
panda[0].forward()
panda[0].getBamboo()
panda[1].forward(3)
panda[1].forwardUp()
panda[1].boo()
panda[1].forward()
panda[1].forwardDown()
panda[1].forward()
panda[1].getBamboo()
panda[2].forward()
panda[2].forwardUp()
panda[2].boo()
panda[2].forward()
panda[2].forwardDown()
panda[2].forward()
panda[2].getBamboo()
Sahne 74
repeat 2:
panda[0].forward(4)
panda[0].getBamboo()
panda[1].forward(4)
panda[1].getBamboo()
Sahne 75
repeat 3:
panda[0].forward(3)
panda[0].getBamboo()
panda[0].turn(right)
panda[1].forward(3)
panda[1].getBamboo()
panda[1].turn(right)
Sahne 76
panda[0].forward(3)
panda[0].getBamboo()
turtle[2].forward(7)
turtle[3].forward(7)
panda[2].forward(3)
panda[2].getBamboo()
turtle[0].forward(7)
turtle[1].forward(7)
panda[1].forward(3)
panda[1].getBamboo()
Sahne 77
turtle[0].forward(2)
turtle[1].forward(2)
repeat 2:
panda[0].forward(2)
panda[0].boo()
panda[0].forward(2)
panda[0].getBamboo()
turtle[0].forward(4)
turtle[1].forward(4)
repeat 2:
panda[1].forward(2)
panda[1].boo()
panda[1].forward(2)
panda[1].getBamboo()
Sahne 78
a=0
repeat 3:
turtle[0].forward(2)
turtle[1].forward(2)
turtle[2].forward(2)
panda[a].forward(8)
panda[a].getBamboo()
a=a+1
Sahne 79
a=2
repeat 2:
panda[0].forward(a)
panda[0].getBamboo()
panda[0].turn(left)
panda[1].forward(a*2)
panda[1].getBamboo()
panda[1].turn(left)
a=a*2
Sahne 80
a=0
b=3
repeat 2:
panda[a].forward()
panda[a].boo()
turtle[a].forward(b)
panda[a].forward(4)
panda[a].getBamboo()
a=a+1
b=b+3