09 March 2018

Friday 09 March 2018

This week’s homework is practice makes perfect and should be returned on Thursday 15 March.

I can create an algorithm to complete a game.

Create your own game and then write an algorithm (a set of instructions) for how to successfully win the game.

In your algorithm, use the following code:

Some pieces of code can be made shorter. For example, to move twice in the same direction you don’t need to write: North, North. Instead, you could write: 2 North.

On your template, you can place treasured items that need to be collected as well as obstacles that need to be avoided before the game can be completed.

How many ways can the game be completed?