Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    I Need Help On My Eye Test Game

    Work In Progress
    2
    2
    44
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      TurtleGamer 0 last edited by

      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

      1 Reply Last reply Reply Quote 2
      • Kat
        Kat Fuze Team last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post