Go to Blockly pond challenge page. In this lesson you will be facing 4 ducks and you need to defeat all of the ducks.
Print out the starter worksheet and click play on the game. Fill out the front page of your ‘Blockly Pond Challenge’ Worksheet.
Watch each of the enemy ducks.
- How do they behave?
- What are their strengths?
- What are their weaknesses?
You need to code your duck to attack the enemies, but how are you going to code it?
Fill in the planning worksheet below
(maybe include a simple example of a duck firing or some snippets for scanning / firing / moving?)
Go code your duck!
Does your duck kill all the enemies without dying?
How long does it take. Are there any improvements you can make?Blockly Pond Challenge
Compare your code with the rest of the class, how do it compare?
- How do their algorithms work?
- Which algorithm is kills the ducks the fastest?
- Which is the most reliable algorithm?