Files
game-of-life/utils/constants.py
2025-04-21 10:50:45 +02:00

16 lines
639 B
Python

import arcade.color
from arcade.types import Color
from arcade.gui.widgets.buttons import UITextureButtonStyle
COLS = 80
ROWS = 60
CELL_SIZE = 10
SPACING = 2
NEIGHBORS = [0, 1, -1]
log_dir = 'logs'
menu_background_color = Color(28, 28, 28)
button_style = {'normal': UITextureButtonStyle(font_name="Protest Strike", font_color=arcade.color.BLACK), 'hover': UITextureButtonStyle(font_name="Protest Strike", font_color=arcade.color.BLACK),
'press': UITextureButtonStyle(font_name="Protest Strike", font_color=arcade.color.BLACK), 'disabled': UITextureButtonStyle(font_name="Protest Strike", font_color=arcade.color.BLACK)}