I Need Help On My Eye Test Game
-
Hi, so I've been working on a game for a while now, and it's had a lot of improvements. But I still need help because there's glitches and bugs. I probably have less coding experience then most of you and that's why I need help. So, here's all I need help with. (You'd understand a lot easier if you played the game. 😊) 1: Whenever you type in a word even if it's not the word that's on the screen both times, (2: It makes you type it twice ðŸ˜) it'll say you got it right. 😟
Also feel free to give reviews on my game from replying! 😃 (Please be nice) Here's the ID!
ID: 1VU33MND1Q -
Hi TurtleGamer! Very nice game idea! I think both problems can be solved by editing line 90, currently
if answer == input("What does it say?") then
to
if answer == answer[num] then
so that it's checking against the random selection you made before. With input() there, you're getting a second, new input from the player, which will always be 'true' so it counts it as correct. Hope that makes sense. You'll also need to change line 110, either to check against "Cloud" as you have printed a few lines above, or changing
num
to a new random number before printing, then repeating the code from the first question.