0

Hi iam trying to write a script, for a calculus competition (shrot) :

I wil have two competitors, both will play the game / competition until one leads by 2 points then the game is over.

Anyways it goes like this: In first round first competitor enters two factors / numbers say 5 and 2 in to a input field then the second competitor is prompted whit a input and needs to anwser whit the combined value of the two 5+2=7 if second competitor guesed the right value "7" he gets 1 point if not then he gets 0 points but its his turn then to enter the factors and first competitors task to anwser.