Last Step: Restart Button and End of the Game

1. write command setbackgroundclor(lightyellow). 2. Add check button's scripting the commands If((x(D),0)==(6,0),SetValue(text3,"The Winner!!")) If((x(C),0)==(-15,0),SetValue(text2,"The Loser:(")) 3. Create a restart button. Write its scripting SetValue(C,-5) SetValue(D,-3) SetValue(InputBox1,"1") SetValue(InputBox2,"0") SetValue(InputBox3,"1") SetValue(InputBox4,"0") SetValue(text2,"-----") SetValue(text3,"-----") RunClickScript(düğme1)