The game's basically about avoiding arrows pushing the up and down key on the calculator(T1-84 plus)
and I want to make some messages pop out after the game ends, like when the score(S) is in the range between 0~50, it'll say "YOU FAILED :((", and if it's between 51~100, it'll say "GOOD :)"
So, I entered
:If 10≥S≥0: Then: ClrHome: Disp "YOU FAILED :(("
:If 95≥S≥11: Then: ClrHome: Disp "GOOD:)"
:If 130≥S≥96: Then: ClrHome: Disp "BE PROUD :D"
and so on..
But the problem is that it would always appear "YOU FAILED :((" on the screen regardless of what the score is...
Can you guys please tell my what the problem is and how I can fix it?
Thanks
and I want to make some messages pop out after the game ends, like when the score(S) is in the range between 0~50, it'll say "YOU FAILED :((", and if it's between 51~100, it'll say "GOOD :)"
So, I entered
:If 10≥S≥0: Then: ClrHome: Disp "YOU FAILED :(("
:If 95≥S≥11: Then: ClrHome: Disp "GOOD:)"
:If 130≥S≥96: Then: ClrHome: Disp "BE PROUD :D"
and so on..
But the problem is that it would always appear "YOU FAILED :((" on the screen regardless of what the score is...
Can you guys please tell my what the problem is and how I can fix it?
Thanks
-
Looks like you need End statements for each If statement. I don't see any in your code!