HOUR OF CODE MINCRAFT ADVENTURE
WORKSPACE
On the right you can see 3 spaces. There is the gamespace: where you see how your code is being put to use. There is the toolbox: where you can find all the tools you are limited to using. There is also the workspace, where you make your code to perform the task.
LOOPS
Computers can do a task millions and billions of times without stopping and that is where the forever loop comes into play. This loop will make the chicken move forever.
EVENTS
In minecraft when you hit a cow it runs away, when a creeper comes by it will explode. These are called events. In hour of code use the event sheep when used to show what will happen when you interact with the sheep.
SPAWN
No comments:
Post a Comment