Minecraft Modding For Kids For Dummies
Book image
Explore Book Buy On Amazon

You can earn a few different kinds of Minecraft badges. Here, you find out how to earn Scramble badges, which are different from the other types: All the code blocks you need are already in the programming area — they’re just scrambled around on the screen in an animation.

To earn a Scramble badge, follow these steps:

  1. Test the correct version of the code in the simulator or Minecraft to see what it’s supposed to do, like saying “Hello, World!”

  2. Gather together all blocks that have been scrambled on the screen, by dragging them near each other.

    image0.jpg
  3. Unscramble the blocks, and test your mod to see whether it matches the correct version that you test in Step 1 of this list.

To find all the blocks you need in order to complete the badge (sometimes, the blocks that have been scrambled are offscreen), you move around by using the scroll bars on the right side and bottom of the programming environment.

Earn the Saying Hello badge: Scramble Edition

Open the Saying Hello (Scramble) challenge by clicking on the badge.

image1.jpg

You see ten blocks scrambled on the screen.

Follow these steps to solve the challenge and earn the badge:

  1. Click the blue Test button to test the correct version in Minecraft, or click the orange Test button to test the correct version in the simulator. Then observe what happens.

    image2.jpg
  2. Gather the ten blocks and begin to arrange them in such a way that when you run the mod, it does exactly the same thing that the correct version did.

  3. Test your mod in Minecraft or the simulator to see whether it has the same effect as the correct version.

    If it doesn’t, edit the blocks arrangement and test again.

  4. Continue this edit-test cycle until you have put together the correct arrangement of blocks.

Communicate with your computer

Writing code is the way that programmers communicate with their computers, and the way that you communicate with Minecraft. The problem, however, is that computers do exactly what you tell them to do, not what you think they should do. For example, in the Saying Hello (Scramble) challenge, you may have noticed that the answer looks strange if you expected the messages to be sent in numbered order, like this:

  • One Mississippi

  • Two Mississippi

  • Three Mississippi

and instead they’re sent out of order, like this:

  • Two Mississippi

  • One Mississippi

  • Three Mississippi

If you were told, “Go to your shoes and put on your room,” you probably would figure out that what you should do is go to your room and put on your shoes. If you told a computer, “Go to your shoes and put on your room,” the computer would literally go to its shoes and then try to put on its room, which is impossible, so it would probably display an error message.

You must be precise when you write code, and — more ­importantly — you should test your code often and in small increments to catch mistakes.

At the bottom of any Scramble challenge are two videos that you can watch to see strategies for completing this type of badge.

image3.jpg

Though the videos aren’t specific to each challenge, watching them can help you with any badge that asks you to unscramble code.

About This Article

This article is from the book:

About the book authors:

Sarah Guthals, Ph.D. is the CTO of ThoughtSTEM and has dedicated her life to coding education.

Stephen Foster, Ph.D. is the CEO of ThoughtSTEM, a company that teaches computer science to kids across America.

Lindsey Handley, Ph.D. is the COO of ThoughtSTEM and has hundreds of hours of experience as a classroom instructor for Minecraft based science and computer science classes.

This article can be found in the category: