добавил перезапись сложности в config.ini
добавил зависимости вероятностей от сложности немного английской грамматики добавил
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import pygame
|
||||
from modules.Board import Board
|
||||
from modules.Mathematics import recalculation_events, get_random_event
|
||||
|
||||
|
||||
class Game:
|
||||
@@ -24,6 +25,10 @@ class Game:
|
||||
self.running = False
|
||||
if event.type == pygame.MOUSEBUTTONDOWN:
|
||||
self.board.get_click(event.pos)
|
||||
if event.type == pygame.MOUSEWHEEL:
|
||||
event = get_random_event()
|
||||
recalculation_events(event["well"])
|
||||
print(event)
|
||||
|
||||
def render(self):
|
||||
self.screen.fill((0, 0, 0))
|
||||
|
||||
Reference in New Issue
Block a user