Blockly Minecraft Task 1 ) Please copy the example task. Task by task. Do not alter or personalise it in any way. Drag out the SKYMAP block Drag out a SKIN block Then select AGENTSMITH Press CTRL & D to bookmark and save your work Then press Run X Adding extra blocks Using the Minecraft blocks Copy this block pattern Your blockly character needs a nickname – Call him Agent Smith Now- Run the program X Your character takes small steps – try changing the step to 1 – steps are longer – but not realistic Use right click to quickly create additional blocks so that walking looks more realistic. What will happen if you use move -0.5? Using arrays Example A A Example B B Program B works slower why? Using variables – creating an array! Drag in this VARIABLE block Give the variable a name Drag in this list block Drag in this minecraft block Duplicate it so that you have three copies. Add text phrases Variables are usually defined at the start of a program Drag and connect the quotes variable to the start of the program. A variable which stores several distinct pieces of data is called an ARRAY. This array is in the form of a list. X If you press run – the array will not do anything. The data is simply stored in a memory location inside the computers RAM memory chip. Lets create a path for Agent smith to walk Drag a loop block from the control menu Your program should look like this! Set the loop to run 8 times Use 108 degrees Run the program to test it Press CTRL & D to bookmark and save your work X Then press Run Make your character talk Drag and connect these communication blocks from the Minecraft fly out option menu Type in Hello, World! This is a tradition that all programmers follow When you learn a new programming language Print(“Hello, World!) is usually your first step. Press CTRL & D to bookmark and save your work X Then press Run Lets use the data array - Quotes Drag and connect this communication block from the Minecraft fly out option menu Drag and connect this Lists block This command will pick RANDOM quotes from the data array and your character will say them on screen Putting it all together Agent Smith will now walk and talk randomly. E.g. b c a c b • Research • Lets google search and find some cool phrases! No delay block! No problem! Lets make one using a stepping loop Going random Make Agent Smith unpredictable Using random numbers in a loop creates interest. Make Agent Smith dance Using random walks -numbers walk backwards +numbers walk forwards Task 2 • Document your program. Like this. Use this example or the template provided. Task 3) Choose a different character. E.g. Mario Use the www to research his quotes. Test and document your program. Example