game: add: config

This commit is contained in:
2023-12-28 15:21:02 +01:00
parent 5db03a3c69
commit 072944c503
3 changed files with 34 additions and 0 deletions

9
games/config.py Normal file
View File

@ -0,0 +1,9 @@
PADDLE_SPEED_MAX = 1
PADDLE_SIZE_HEIGHT = 10
PADDLE_SIZE_WIDTH = 100
PADDLE_RAIL = PADDLE_SIZE_WIDTH * 5
BALL_SPEED_INC = 1
BALL_SPEED_START = 1
BALL_SIZE = 4