Coding 7: The Big Dig


#1

Coding Threads

Coding 0: Welcome To Coding Camp. Installing Computercraftedu and using the Turtle Remote
Coding 1: Enter The Turtle Garden. Learning how to control your Turtle.
Coding 2: The Enchanted Forest. Practicing Turtle movement.
Coding 3: Building And Repeats. Learning to build with your Turtle.
Coding 4: The Enchanted Meadow. Practicing Building and Repeats.
Coding 5: Nested Repeats. Learning to stack repeats.
Coding 6: Turtle Town. Practicing repeats.
Coding 7: The Big Dig. Learning to dig and practicing loops.
Coding 8: Million Mile Mines. Practicing digging and loops.
Coding 9: The If Statement. Learning about conditional statements.
Coding 10: The Working Turtle. Writing complex programs with conditions and loops.

The Digging Turtle

Turtles are excellent miners. They can DIG in front of them, below them, and above as well. The option to DIG UP and DIG DOWN will only appear once you have moved a DIG block over to the visual editor.

<img src=http://drive.google.com/uc?export=view&id=0Byh5jOX2Lh-Fc3Y0Uk5tcnVIWHc>

DIG code goes really well together with REPEATS. With REPEATS Turtles can easily DIG tunnels, canals, trenches and more. In the example below a Turtle will dig a tunnel two blocks high and two blocks long.

<img src=http://drive.google.com/uc?export=view&id=0Byh5jOX2Lh-FRHBVUVgyMzlfakU>

Coding Challenges

Big Dig Jubilee: There is a big stone wall in the way. Grab your mining Turtle and write some code to take down this wall. The stone wall is 20 blocks long - using a REPEAT will make digging it out easy.

Looping Digger Challenge: Combine your new digging skills with the nested repeat loop to remove a four sided wall.


Coding 5: Nested Repeats
Coding 4: The Enchanted Meadow
Coding 2: The Enchanted Forest
Coding 1: Enter The Turtle Garden
Coding 0: Welcome To Coding Camp
Coding 6: Turtle Town
Coding 3: Building And Repeats

Back to Connected Camps Homepage