Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

So I tried your game and I ran into a problem after entering "1". If I were to type anything other than "Outside" (such as "Info"), the terminal (I'm on Mac) prints out nothing. I checked your code and I believe the issue could be because the first if-statement checks if the input is "Outside", if it's not equal then it prints nothing and goes to the next if-statement "if input()=="Yes":".

Of course since I checked your code I was able to find the ending, which I guess was a bit funny. I think an improvement to this short python game would be put a while-loop and a variable at the start of the while-loop that's equal to an input() so that the while-loop checks if the user did not typed in the word "exit" or "terminate", if they did then the program would just stop. There should also be the same variable before the while-loop so that the while-loop can get running in the first place.

Within the while-loop, there should if, elif, and else statements that only works depending on what the variable (at the start of the while-loop) is. That way if one of those statements return true, all of the statements will be ignored and the program will return to the beginning of the while-loop. 

Hope this makes sense cause I'm not that great at explaining stuff.