chore(game): adjust block speed

This commit is contained in:
Kristofers Solo 2024-01-15 22:39:52 +02:00
parent 4eed4a18e9
commit 36edbacbbc

View File

@ -309,8 +309,8 @@ class Tetris(BaseScreen):
def _level_up(self) -> None: def _level_up(self) -> None:
"""Level up.""" """Level up."""
self.level += 1 self.level += 1
self.initial_block_speed *= 0.3 self.initial_block_speed *= 0.8 # the larger the multiplier, the slower the game
self.increased_block_speed *= 0.3 self.increased_block_speed *= 0.8
self.timers.vertical.duration = self.initial_block_speed self.timers.vertical.duration = self.initial_block_speed
def _draw_components(self) -> None: def _draw_components(self) -> None: