1 2 3 4 5 6 7 8 9 10 11 12 13 14
export const GAME_SIZE = { rows: 20, cols: 20, }; export const INITIAL_PADDLE_POSITION = 10; export const PADDLE_WIDTH = 3; export const PADDLE_HEIGHT = 1; export const NUM_STARTING_BALLS = 1; export const NUM_BRICKS = GAME_SIZE.cols * 5; export const BRICK_DISTRIBUTION = 0.9;