Zmiany

Module 6 - The “Guess the NumberLogic Game” Project

Dodane 286 bajtów, 10:26, 6 lip 2015
* it displays the words “Give a number” and waits for the player’s answer
* it repeats the following instructions until the player’s answer matches the randomly selected number stored in the variable:
*** it checks if the number given by the player is greater than the randomly selected one**** if it is***** it displays the message: “Too high!”**** otherwise ***** it displays the message “Too low!” *** it displays the words “Give a number” and waits for the player’s answer
* it displays “Well done!”
* it ends the script execution
 
===Implementation of the “Guess the Number” logic game===
'''Time to complete this part: about 25–30 minutes'''
 
'''We ask students the following question: ''' What block can we use to ask a question? Where will the answer be stored? We ask them to find such a block.
''Students should find two blocks which are among sensors and are placed one above the other.''
 
 
[[Plik:A1.jpg|center]]
181
edycji