Refactor pong code

This commit is contained in:
2019-03-27 18:51:10 +01:00
parent 270920d117
commit e22b476d73

View File

@@ -5,14 +5,17 @@ import color
ACCENT_COLOR = color.PURPLE
SECONDARY_COLOR = color.BROWN
canvas = None
# Touches
haut = False
bas = False
# Trait
trait = None
T_WIDTH = 10
T_HEIGHT = 90
PAST_Y = 5
# Balle
balle = None
cos = 0.0