This is a place to share ideas and ask questions between CMTN students.
Offline
helloooo
Offline
Here is a solution to the hangman device script:
[blocks]
<when green flag clicked>
<set{ score }to( 0)
<set{ wrong }to( 0)
<show>
<say[ welcome, rules, etc. ]for(3 )secs>
<forever>
<if> <( score <=> 3 )>
<broadcast[ win]
<say[ you win ]for(3 )secs>
<stop all>
<if> <( wrong = 2 )>
<broadcast[ win]
<say[ you lose ]for(3 )secs>
<stop all>
[/blocks]
Last edited by StephenB777 (2011-10-26 16:58:25)
Offline