Skip to content
Sign upLog in

Not Sure Why This isn't working?

Profile icon
1Dagree

Its not completed but it just keeps repeating same thing and i did not program it to do that can someone help

You are viewing a single comment. View All
Profile icon
1Dagree

@sugarfi
the code isn't fully completed yet but the problem is that if you are the most voted (4) then dead should equal true and the game ends but that doesn't happen even if 4 is the most voted (the variable you) it just asks you who the mafia is again. Instead of saying you died and the mafia wins that is the problem.