Now me have 13 letters, auf wiedersehen!

Calculation tool for max hover count added :'-(
This commit is contained in:
Nikolya Andreychik
2021-04-12 14:02:34 +03:00
parent 6dd01a6f32
commit cd1d31b352
3 changed files with 62 additions and 18 deletions
+1 -2
View File
@@ -144,8 +144,7 @@ class Player(pygame.sprite.Sprite):
def calcMaxHoverCount(self, speed):
return int(round(4.76 + 127.5*(1/speed) -
239.45*(speed**-2) + 191.29*(speed**-3)))
return round(-0.44 + 0.079*math.log(speed) + 49.42 * (1/math.sqrt(speed)))
def update(self):