module Breakout
Defined in:
breakout/ball.crbreakout/block.cr
breakout/game.cr
breakout/player.cr
breakout/settings.cr
breakout/version.cr
Constant Summary
-
BALL_SIZE =
10
-
BALL_VELOCITY =
300
-
BLOCK_COUNT_X =
6
-
BLOCK_COUNT_Y =
5
-
BLOCK_SIZE_X =
100
-
BLOCK_SIZE_Y =
30
-
MARGIN_BOTTOM =
20
-
MARGIN_SIDE =
(WINDOW_SIZE_X - (BLOCK_SIZE_X * BLOCK_COUNT_X)) / 2
-
MARGIN_TOP =
40
-
NAME =
"Breakout Game"
-
PLAYER_SIZE_X =
150
-
PLAYER_SIZE_Y =
20
-
PLAYER_SPEED =
400
-
VERSION =
"0.1.0"
-
WINDOW_SIZE_X =
800
-
WINDOW_SIZE_Y =
500