ProCodeCG Kids Programming 21 March 2015- Creating Buildings with Simple Shapes in Minecraft

Standard

Today ProCodeCG Kids Programming Class learn how to create buildings inside Minecraft using codes.

IMG_6447

Instead of clicking to create, or typing the commands one by one on the command prompt, they are forced to type the whole code 😀

IMG_6448

And yep, they really do it!

IMG_6449

This is the source code to create a triangle wall, which they will later use to create something interesting like pyramid 🙂

IMG_6451

They do experiments like creating a box on the ground (which needs the up() command)

IMG_6446

Then they create triangles in small sizes to the bigger ones…

IMG_6453

… and so big it goes beyond the system can handle LOL

IMG_6454

Kids need to do experiments, and often beyond the boundaries, to learn. Just give them the tools, the hints, and some examples, they will work things out 😉

Advertisements

8 thoughts on “ProCodeCG Kids Programming 21 March 2015- Creating Buildings with Simple Shapes in Minecraft

  1. kixty9

    Here, I typed the code shown on the 4th photography so you can replace the image for the code. This will make easier to copy for the readers:

    var Drone = require(‘../drone’).Drone;
    var blocks = require(‘blocks’);

    function mytriangle(base,height)
    {
    this.chkpt(‘mytriangle’);
    up(1);

    if (typeof base == “undefined”)
    base = 5;
    if (typeof height == “undefined”)
    height = base;

    var j = base;

    for (var i = 0; i < height; i++){
    this.box(blocks.oak,j-i,1,1).up(1).right(1);
    j–;
    }

    this.move('mytriangle');
    };
    Drone.extend(mytriangle);

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s