Updated to output 6 pins for medium and hard difficulties

This commit is contained in:
jaycee 2024-08-17 21:45:49 -06:00
parent 2fce0e5aee
commit 367ad2f1d8

View File

@ -32,6 +32,9 @@ while (pins == []):
print ("|\t1\t|\t2\t|\t3\t|\t4\t|\t5\t|\t6\t|")
for row in range (0, 4):
print("|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" "|\tX\t|")
if choice.upper() == "E":
print("|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" "|\tX\t|")
else:
print("|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" + "|\t" + random.choice(pins) + "\t" "|\t" + random.choice(pins) + "\t|")
print ("Good Luck!")