This game is incredibly boring. Please give it chance though, as the narrator does get rather lonely.
This project has been in the making for quite a while now. I originally started it for the game jam some time ago, but schedule restraints prevented me from finishing it in time. Although it is still not quite done, I figured I could share it with everybody to find any bugs, and get new ideas.
Once you finish what I have currently created, please let me know what you think down in the comments. I am taking any ideas for what could come next, and I will give credit for any ideas that make it in.
Thanks for playing!
Minor changes to dialogue
Streamlined content to support replay in the future
Changed the method for 'clear'
Added replay ability
Added Menu after initial Playthrough
Added option to go straight to menu
Added Easter Eggs
Major bug fixes to Easter Egg system
Major changes to the 'Boss' Easter Egg dialogue
no work File "main.py", line 259
IndentationError: unindent does not match any outer indentation level
On line 585, you're calling for the function
notq. However, this throws an error. Throughout the rest of your code, this function is referenced as
notQ, with a capitalized Q. I forked the project and tested it myself just to be certain that it was case sensitive, and it fixed the problem. Just change line 585 to a capital Q and you'll be all good!
This Happens Immediately :(
Have you played before? [y/n] n
Traceback (most recent call last):
File "main.py", line 663, in <module>
if(p==y or p==yes):
NameError: name 'y' is not defined
Wasn't sure if I wanted to play the most boring game lol. Maybe change the title to get more people to play? But yeah I gave it a try. Got confused a little bit when I came to the doors. Wasn't sure the code was in a loop or the purpose was to have more than one door? Once I figured it was the latter, it felt a little bit like I was playing Bandersnatch and got a little interesting. Not the most boring game I've played. Keep working at it.
@Trapdoorspyder Hello! Great game! I know what is causing this problem, in the function "os.system("clear")" this only works for macs and linux, to make it also work on windows computers as well, you must make a clear function and replace all of your os.clear() functions with clear() after you place the function below at the top of your program. This function will basically just check if someone is using macs/linux or windows
# for windows if name == 'nt': _ = system('cls') # for mac and linux(here, os.name is 'posix') else: _ = system('clear')
Another suggestion is after you ask the user something, for example when you ask the user for their name instead of doing name=input("What is your name? "), do name=input("What is your name?\n> "). It just makes it look a lot cooler and it will signal to the user that the program is ready for an input.
If you have any questions, feel free to ask.
@EthanCulp Yes, I do have a question. How does this work? If I do implement this into my code, I want to know how it works so that I can edit it if I need to. Thank you for the suggestion, and I will try it out. However, I have no way to test if it works for the other systems when I do implement it. I do not wish to seem ungrateful for this suggestion, I just want to know how it works and how to test it for other systems.
@Trapdoorspyder That is perfectly fine! I am happy to answer your question. The OS (Operating System) Name for Windows is 'nt' and the parameter you will put in os.clear() is 'cls'. The OS Name for Mac/Linux is 'posix' and the parameter will be 'clear'. So lets go through this step by step:
\/ Starting to define the function
if os.name == 'nt': --- This part will test if the OS is windows
= os.system('cls') --- Executes the clear function
else: <-- If the OS is not windows then it will resort to putting 'clear' |
= os.system('clear') --- Executes the clear function |
Just a variable, can be changed to anything and will still work
Here is the raw code without all those tips so you can copy/paste
# for windows if os.name == 'nt': _ = os.system('cls') # for mac and linux(here, os.name is 'posix') else: _ = os.system('clear')
Also, here is a link to a sample project- https://repl.it/@EthanCulp/Explanation-Sample
There is no way to know if this works on Windows, unless you go onto a windows device, but I have used this many times and it has worked for me.
I am sorry if any of this sounds condescending, but I just want to make sure that you understand this and know how to reproduce this function without copy/pasting
If you have any more questions, I encourage you to ask them. (Also, I am sorry if my replies keep showing up in your notifications, for some reason they keep deleting)