Neccor 4 anni fa
parent
commit
cfcf285be2
1 ha cambiato i file con 7 aggiunte e 6 eliminazioni
  1. 7
    6
      main.py

+ 7
- 6
main.py Vedi File

@@ -143,20 +143,21 @@ def win_loop(win_rounds):
143 143
 			pyautogui.click((f_continue[0], f_continue[1]))
144 144
 		elif f_ready != None:
145 145
 			pyautogui.click((f_ready[0], f_ready[1]))
146
-			win_rounds += 1
147 146
 			print(f"Siege: {win_rounds}")
148 147
 		else:
149 148
 			print(f"Kein Ergebniss gefunden")
150 149
 			time.sleep(1)
151 150
 
152 151
 
152
+# Niederlage
153
+loose_rounds = 0
154
+while loose_rounds <= 3:
155
+	loose_loop(loose_rounds)
156
+	loose_rounds += 1
157
+
153 158
 # Siege
154 159
 win_rounds = 0
155 160
 while win_rounds <= 3:
156 161
 	print("winorund loop")
157 162
 	win_loop(win_rounds)
158
-
159
-# Niederlage
160
-loose_rounds = 0
161
-while loose_rounds <= 3:
162
-	loose_loop(loose_rounds)
163
+	win_rounds += 1

Loading…
Annulla
Salva