Closed alakijaayo closed 6 years ago
It could be down to inconsistent indentation
I think the issue is that you haven't included a while loop. The program is supposed to continue running until the player walks into the sunlight (so they can go from the passage to the cave as many times as they want) and the breaks are to break the while loop. Hope this helps!
@camjw cheers for that. Working on it now. Much appreciated
Having a problem with getting either Atom or the gems to accept this answer and I am not sure what the problem is. From a base standpoint the program does give me the answers I want but this does not get accepted when I try to run through spec. However, if I try to add breaks into the code, I get an error message saying that the break is invalid.
Not sure what I have to do, or do i need to start from scratch?