adjust game settings

This commit is contained in:
Kristofers Solo 2024-01-08 17:13:41 +02:00
parent 491886b134
commit 48d5e1d705
2 changed files with 3 additions and 3 deletions

View File

@ -299,8 +299,8 @@ class Tetris(BaseScreen):
def _level_up(self) -> None:
"""Level up."""
self.level += 1
self.initial_block_speed *= 0.75
self.increased_block_speed *= 0.75
self.initial_block_speed *= 0.5
self.increased_block_speed *= 0.5
self.timers.vertical.duration = self.initial_block_speed
def _draw_components(self) -> None:

View File

@ -24,7 +24,7 @@ class Game:
pos: Vec2 = Vec2(padding, padding)
offset: Vec2 = Vec2(columns // 2, -1)
initial_speed: float | int = 300
movment_delay: int = 150
movment_delay: int = 130
rotation_delay: int = 200
drop_delay: int = 200
score: dict[int, int] = {1: 40, 2: 100, 3: 300, 4: 1200}