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

#1 2013-04-15 05:43:31

Riaanviss
New Scratcher
Registered: 2013-04-15
Posts: 2

Scoring system

HI all I am creating a sport prediction website where the players get asked a question.
New York Giants vs Dallas Cowboys who will win. They then get either a point for the correct result the square goes green or no point the square goes red. Can someone someone please help me on creating that scoring system. I know allot of programming and scripting is involved. Any help or info would be appreciated.

Offline

 

#2 2013-04-15 07:10:07

OverPowered
Scratcher
Registered: 2012-07-27
Posts: 100+

Re: Scoring system

Try this:

whengreen flag clicked
set [Score# v] to (0)
ask [New York Giants versus Dallas Cowboys: Who will win?] and wait
if <(answer) = [winner]>
change [Score v] by (1)
end
Of course, it will only accept an exact, letter-for-letter answer.
You could make button which did the same job, though.


Newest project: Tunnel TEST ~http://blocks.scratchr.org/API.php?user=OverPowered&amp;action=onlineStatus~ On my mind: Unicameralism

Offline

 

#3 2013-04-15 08:15:39

Riaanviss
New Scratcher
Registered: 2013-04-15
Posts: 2

Re: Scoring system

Hi There thanks allot will try this.

Offline

 

Board footer