update flappy

This commit is contained in:
2023-07-30 15:05:47 +02:00
parent 99a2976b61
commit c1eecfd567
2 changed files with 4 additions and 4 deletions

View File

@@ -21,10 +21,10 @@ class Flappy(GameBase):
tmp = 20
self.click()
cv.waitKey(int(100))
if tmp % 5 == 0:
if tmp % 5 == 1:
self.click()
cv.waitKey(int(wait_timer -100))
print("pet_pos: ", self.flappy_pos_disc.get_actual_pet_height())
'''
if self.flappy_pos_disc.next_gate_height[0] is not 0:
offset = (self.flappy_pos_disc.next_gate_height[0] + 120) - self.flappy_pos_disc.current_pet_height