module CrystalPong

Defined in:

crystal_pong.cr
entities/racket.cr

Constant Summary

BALL_RADIUS = BALL_SIZE * 0.5
BALL_SIZE = 20
BALL_SPEED = 240.0
CENTER_LINE_THICKNESS = 3
PLAYER_SPEED = 400
RACKET_HEIGHT = 125.0
RACKET_HEIGHT_HALF = RACKET_HEIGHT * 0.5
RACKET_PADDING = 50
RACKET_WIDTH = 20.0
RACKET_WIDTH_HALF = RACKET_WIDTH * 0.5
VERSION = "0.1.0"
WINDOW_HEIGHT = 600
WINDOW_HEIGHT_HALF = WINDOW_HEIGHT * 0.5
WINDOW_WIDTH = 1000
WINDOW_WIDTH_HALF = WINDOW_WIDTH * 0.5