Apr-06-2018, 12:52 AM
Hello! I am making a game where you enter a path for a drone to fly in, and you must enter the movements right. In the case below, the correct way to get through would be the sequence sddddwx. However, the player can get a 'free-bee', and have any number of characters wrong, and still pass. The errors that will pass unnoticed will be defined using the variable error. How would I make a program that would not notice a number of wrong characters? Thank you.
The error is defined:
The error is defined:
print"Newest upgrade purchased!" error = error + 1 money = money - 1000000 print"You can make",error," mistakes."The maze:
print(""" |A----B| From A drop Paratrooper 4 (v) at B |______| Time limit: None.""") r1 = raw_input("Commands:")