Difference between revisions of "CSC111 Games around Functions"
(→Game 3) |
(→Game 4) |
||
Line 57: | Line 57: | ||
* Student 1 ( sentence ) | * Student 1 ( sentence ) | ||
− | ** Get | + | ** Get sentence |
** Say the sentence | ** Say the sentence | ||
* Student 2 ( sentence ) | * Student 2 ( sentence ) | ||
+ | ** Get sentence | ||
** Say "My T-Shirt says: " | ** Say "My T-Shirt says: " | ||
** Say the sentence | ** Say the sentence |
Revision as of 08:56, 20 October 2011
--D. Thiebaut 09:47, 20 October 2011 (EDT)
Game 1
- Student 1
- Say "Banana!"
- Student 2
- Say "Orange!"
- Student 3
- Say "Peanut Butter!"
- Main
- Call Student1
- Call Student2
- Call Student3
Game 2
- Student 1
- Say "Banana!"
- Student 2
- Say "Orange!"
- Student 3
- Say "Peanut Butter!"
- Main
- repeat 3 times:
- Call Student1
- Call Student2
- repeat 2 times:
- Call Student3
- repeat 3 times:
Game 3
- Student 1
- Say "Caramba!"
- Student 2
- Say "No, No, No!"
- Student 3
- Call Student 1
- Say "Si!"
- Main
- Call Student 2
- Call Student 1
- Call Student 3
Game 4
- Student 1 ( sentence )
- Get sentence
- Say the sentence
- Student 2 ( sentence )
- Get sentence
- Say "My T-Shirt says: "
- Say the sentence
- Student 3 ( sentence )
- Get sentence
- Say "And now listen to this: "
- Call student 1 and pass her sentence
- Main
- Call Student 1 and pass "I am tired"
- Call Student 2 and pass "I live for Chocolate"
- Call Student 3 and pass "We have no labs on November 10!"