This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-10-26 15:16:47

StephenB777
Scratcher
Registered: 2010-01-26
Posts: 2

Welcome CMTN Students

This is a place to share ideas and ask questions between CMTN students.

Offline

 

#2 2011-10-26 15:19:33

monisolines
New Scratcher
Registered: 2011-10-26
Posts: 1

Re: Welcome CMTN Students

helloooo

Offline

 

#3 2011-10-26 15:29:16

StephenB777
Scratcher
Registered: 2010-01-26
Posts: 2

Re: Welcome CMTN Students

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

 

Board footer