This is a short playable story of among us. It has many differant paths and over 1,000 lines of code. It took me over 18 hours to complete.
If you see any bugs, leave it in the comments.
- Kill/vent errors fixed
- New maps (Like the mars base and sky thing)
- More Paths (Mainly on the crewmate file)
- Randomized tasks (That one might take a while)
- Fix when you type something wrong it takes you to beginning (I've got a lot of comments about that)
NOTE: Future updates have been canceled
If you want to see your name appear as a game, type...
[My repl username] would like to appear on Among Us by @FloCal35.
EDIT: Yes, we reached 100 upvotes and have been trending for over 14 days! I'm glad y'all enjoyed it :)
wait.py. Instead of doing
print("waiting", end="\r") print("waiting.", end="\r") print("waiting..", end="\r") print("waiting...", end="\r") print("\u200b" * 20, end="\r")
there's a better way to do the waiting text instead of copy+pasting and adding a . to the end, but I can't be bothered writing it. Nice project though!
Randomized Tasks(Thats gonna take A LONG time to code
Umm actually no it wont, if you do the following stuff:
import random <list name> = ["Task1","Task2","etc;"] for i in range(3): random.choice(<list name>)
Here is the code with actual variable names
import random listofTasks = ["Electrical", "Wires", "Cafeteria", "etc;"] for i in range(3):#num of tasks random.choice(listofTasks) boom
I don't recommend using
exec. It's not very safe with input.
Instead, do this:
import os #I have another file os.system("python file.py")
It automatically looks in the shell and knows there is a file named
Then it would execute it. And the string can not be stored in a variable while executing.
You could also use this in a login system, it like it hashes the password because you can't get it from a variable.
Other than that, great game!
I accidentally pressed the
enter key, and it just stopped the game. That is very annoying if you have gotten far then accidentally pressed something. I recommend putting choices in while true loop, after the user makes there choices, it continues to next loop.
while True: choice = input("Would you like to move back or forward?") if choice == "forward": print("forward") break elif choice == "back": print("back") break else: print("Not a option!") while True: #and so on..