Zmiany

Module 6 - The “Guess the NumberLogic Game” Project

Dodane 705 bajtów, 10:46, 6 lip 2015
[[Plik:A3.jpg|center]]
 
It is a good idea to point out (unless the students notice this themselves) that the commands which display messages should stay visible for a specified time (e.g. 2 or 3 seconds) rather than disappear immediately.
 
Sample stage and sprite for the game:
 
[[Plik:A4.jpg|center]]
 
After the students have written the game script we ask them to play the game for a while. Then we ask them to propose a method of asking questions (i.e. a number guessing algorithm) to guess the number drawn by the computer as quickly as possible (asking as few questions as possible).
 
 
===Introduction of a second sprite and communication between their scripts ===
'''Time to complete this part: about 25–30 minutes'''
181
edycji