Right now, I am starting to work on a project, (no animations, all just text), Can someone tell me how I can make a life system so If you get an incorrect answer, you lose a life? This is in Python. Thanks!
Also, you really should add better option detection, like if a option is not valid, you say so.
And maybe you should add dictionaries. I used to love to do text adventures, then I realized dictionaries were simple combined with arrays.
@ebest, Also, how do you keep the lives consistent so that it doesn't always give you 3 lives at the beginning of a puzzle?
@kirbyfire what do you mean?
@ebest I tested it out, but if I get a wrong answer, (but then get one correct and move on) and then do the same thing again, Then instead of having only one life, I have 2. How do I fix this? (If you can't understand my question, try getting one wrong and then correct twice in a row, then get it wrong. Instead of ending it it gives another chance.)
@ebest and also, how do you give multiple correct answers that lead to different paths? I tried using the or function but it didn't work!
@kirbyfire What programming languages have you learned before?
@ebest A bit of Java, and Python
@kirbyfire you can reset the input every time. Change it.
cool
Just stick it in a variable and check for correct answer:
Fill in "correct option" with whatever condition you think is the correct option
@mwilki7 THANK YOU SO MUCH YOU ARE A GOD AND A LIFESAVER!!!!!!!!
@mwilki7 Change that to (little change)
@ebest TYSM!!!