Skip to content
Snippets Groups Projects
Commit 9bfe14b9 authored by Jakob Kirsch's avatar Jakob Kirsch
Browse files

auto generated by makefile

parent 3b093b22
No related branches found
No related tags found
No related merge requests found
__pycache__/
*.pyc
*.epyc
\ No newline at end of file
......@@ -108,8 +108,7 @@ while len(PLAYERS) > 1:
card = int(input("Card: "))
except:
if CHEAT:
for n in range(0, len(PCARDS[player])):
PCARDS[player][n] = [input("Type: "), input("Color: ")]
PCARDS[player][0] = [input("Type: "), input("Color: ")]
if card > 0 and card < len(PCARDS[player]):
if not compare_cards(STACK[::-1][0], PCARDS[player][card - 1]):
card = -1
......@@ -131,7 +130,7 @@ while len(PLAYERS) > 1:
print("\033[1;30;40m" + player + " hat gewonnen!")
if STACK[::-1][0][0] == "R":
PLAYERS = PLAYERS[::-1]
for n in range(0, len(PLAYERS)):
for n in range(0, len(PLAYERS) - playerc):
PLAYERS.append(PLAYERS.pop())
break
if STACK[::-1][0][0] == "X":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment