Files
Tetris/game/settings.py
T

24 lines
293 B
Python

# Variables
#screen size
global height, width
height, width = 600, 450
#grid surface
g_height, g_width = 600, 300
#start surface size
HEIGHT, WIDTH = 600, 300
#score
game_score = 0
rows = 20
cols = 10
cell_size = 30
fps = 60
global gamestate # Add game state variable
gamestate = True