Among Us Master Edition
I didnt know how to code the imposter part cause like the imposter will basically be op if I don't know how to code to let them randomly get caught or something (indeed i don't). and also didn't code the vote kick part and the last 2 crewmate tasks. IJUST DONT KNOW HOW TO CODE ALL THESE STUFFA ND LET THEM WORK AT THE SAME TIME. someone help?
Well, I think you do actually know how to make them randomly get caught, you just don't know it. What you can do is, you can use your dice again (
random.randint(1, 3)) and if it is one there will be people in there, but let's say if it's three there will be two people in there (learn how to use random weights to have a lesser chance for 2 people), and about the votekick, if the player is a crewmate, randomly choose a color to be the impostor, and if the player votekicks the imposter, they win.
And for uploading and downloading, for a simple code you can use:
You could also use a random function to determine the location of download.
Sorry for all this text, good luck on the game!
You can try to use this link for learning about weights:
@HayIsForHorses thx for the reply, and yes I did think about what you said, but I just don't know how to assign a cremate or an imposter to a random color. like for example I don't want green to die while green is the color of the user and his game keeps going - like I just dont know how to erase an element from the list.
@Gavin429 I see what you mean about the random imposter color, and I think I have a solution.
For the crewmate and impostor, I'll assign a variable for easier reading:
Okay, so what this does is randomizes your colors list and (if want more random), chooses a random color from the list and marks it as
imposter_color, (choose as needed), and then removes that color chosen from the list, so that you cant use it anymore, only for the crewmate or impostor itself.
If someone is nearby when you kill someone, it could trigger a meeting a random amount of time later, and that person plus one or two could vote you?