In any design project, it’s important to start by understanding the problem. You can begin this
activity by interviewing people around you who might have encountered the problem you are
trying to solve. For example, if you are designing a survival tool, what do most Minecraft
players do to survive the first night? Ask your friends how they find food, build a shelter, etc.
What resources do they tend to look for first? Do they have a system? What would be more
effective? What do they wish they had the ability to do?
If you are designing something else, think about how you might find out more information
about your problem through interviewing or observing people playing Minecraft, with your
focus being strictly on studying their behavior in-game. A good way to focus your
observations is to make a list of key questions ahead of time:
What do new players do first?
How quickly do they decide to go underground?
How long do they stay there?
Do they tend to stay in one place, or migrate?
Which characteristics make a good place to build a base?
Then start brainstorming with your partner. Talk about a variety of different ideas. Remember
that it’s okay if the ideas seem far-out or impractical. Some of the best programs come out of
seemingly crazy ideas that can ultimately be worked into a useful program.
Pair Programming
The concept of “pair programming” is a valuable way to have programmers collaborate when
creating programs together. Two programmers share one computer, with one person at the
keyboard acting as the driver, and the other person providing directions as the navigator. If
you are collaborating with someone else on a project, try using one computer and take turns
creating code and then seeing how it behaves in the Minecraft world. The main rule is, if you
are at the keyboard, you are doing what the other person is telling you to do. They are the
navigator! Remember to practice good communication with each other throughout the entire
programming process.
Debugging
Be sure to test out a number of different ideas in Minecraft. What is the easiest way to keep
track of data? You can test to see if certain conditions are actually being detected by adding a
Say block inside the If Then block. If you do something in the world that should trigger the
condition, but you don’t see the message printed to the screen, then you know that
something is wrong is wrong with your condition.
Similarly, If you are updating your variables based on certain conditions, you can use a Say
block to print out the value of the variable so you can make sure it is changing properly. If
you are using a number variable, remember to use a Join block to join it with a word (or
empty quotes) so it will print.