This commit is contained in:
verboomp
2026-04-21 14:29:19 +02:00
parent 5c989c5e70
commit deb4ddeaab
3 changed files with 14 additions and 6 deletions

View File

@@ -2,11 +2,14 @@ const PADDLE_W = 12;
const PADDLE_H = 90;
const PADDLE_MARGIN = 42;
const BALL_R = 7;
const BASE_SPEED = 5;
const BASE_SPEED = 3.5;
const WIN_SCORE = 5;
const MAX_LEVEL = 3;
const WALL_WIDTH = 32;
const PADDLE_SPIN_FACTOR = 0.5;
const BALL_RESUME_DELAY = 800; // ms pause after dismissing a goal message
const LEVEL_COVERAGE = [0, 0, 40, 70];
const LEVEL_CPU_SPEED = [0, 1.6, 3.0, 3.8];