Browse Source

bugfix counter

Neccor 4 years ago
parent
commit
cfcf285be2
1 changed files with 7 additions and 6 deletions
  1. 7
    6
      main.py

+ 7
- 6
main.py View File

143
 			pyautogui.click((f_continue[0], f_continue[1]))
143
 			pyautogui.click((f_continue[0], f_continue[1]))
144
 		elif f_ready != None:
144
 		elif f_ready != None:
145
 			pyautogui.click((f_ready[0], f_ready[1]))
145
 			pyautogui.click((f_ready[0], f_ready[1]))
146
-			win_rounds += 1
147
 			print(f"Siege: {win_rounds}")
146
 			print(f"Siege: {win_rounds}")
148
 		else:
147
 		else:
149
 			print(f"Kein Ergebniss gefunden")
148
 			print(f"Kein Ergebniss gefunden")
150
 			time.sleep(1)
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
 # Siege
158
 # Siege
154
 win_rounds = 0
159
 win_rounds = 0
155
 while win_rounds <= 3:
160
 while win_rounds <= 3:
156
 	print("winorund loop")
161
 	print("winorund loop")
157
 	win_loop(win_rounds)
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…
Cancel
Save