Thursday 15 September 2016

#9pCp4 Diamond Hunt - Lesson 2

Lesson Objectives 
LO1 To understand what you have to do for Diamond Hunt
LO2 To develop a flowchart for Diamond Hunt game

Outcomes
Red You will have created a flowchart for Diamond Hunt
Amber You will have added your flowchart to your evidence document
Green You will have begun to code your game

Starter

  • Using www.draw.io finish the flowchart for your Diamond Hunt game 
  • Make sure you include all of the items from your list of what the game has to do


Main


RED TASK - DIAMOND HUNT TASK B


B) Add code to the Miner sprite so that when the Green flag is pressed the miner says i'm going to be rich for 1 second
Use the say block to complete this task

Test your program works and then add a screenshot to your evidence document


 AMBER TASK - DIAMOND HUNT TASK C



C) Add the code for the Diamond Sprite so that it hides if it touches the miner. The variable diamond should increase by 1.
Use these 5 blocks to complete this task 


Test your program works and then add a screenshot to your evidence document


GREEN TASK - DIAMOND HUNT TASK D


D) Add a sprite of your choice and call it monster. The monster should chase the miner. It will do this by pointing towards the miner and moving one step. It should repeat this process until it is touching the miner
Use these blocks to complete this task

Test your program works and then add a screenshot to your evidence document

Plenary

  • Make sure that you have screenshots of your work into your evidence document
  • Annotate your screenshots to explain what you have done for each task