добавил requirements.txt, config.ini, переработал GameMenu.py
This commit is contained in:
+2
-2
@@ -3,11 +3,11 @@ from modules.Board import Board
|
||||
|
||||
|
||||
class Game:
|
||||
def __init__(self):
|
||||
def __init__(self, difficulty):
|
||||
pygame.init()
|
||||
size = 500, 500
|
||||
self.screen = pygame.display.set_mode(size)
|
||||
pygame.display.set_caption('Чёрное в белое и наоборот')
|
||||
pygame.display.set_caption(difficulty)
|
||||
self.board = Board(5, 7, self.screen)
|
||||
self.board.set_view(100, 100, 50)
|
||||
self.running = True
|
||||
|
||||
Reference in New Issue
Block a user