Skip to content

Speed up Object Track base levels#107

Merged
acrosman merged 2 commits into
mainfrom
copilot/speed-up-object-track-levels
May 18, 2026
Merged

Speed up Object Track base levels#107
acrosman merged 2 commits into
mainfrom
copilot/speed-up-object-track-levels

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 17, 2026

Early Object Track levels were too easy — balls moved at only 150 px/sec, making targets trivial to follow.

Change

Raised the base speed in getLevelConfig from 150 → 250 px/sec. The per-level increment (15 px/sec) and all other difficulty parameters are unchanged.

// Before
speedPxPerSec: 150 + lvl * 15,  // Level 0: 150, Level 10: 300

// After
speedPxPerSec: 250 + lvl * 15,  // Level 0: 250, Level 10: 400

Updated game.test.js expectations for levels 0, 1, and 10 to match the new values.

Copilot AI linked an issue May 17, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Fix slow performance in initial object track levels Speed up Object Track base levels May 17, 2026
Copilot AI requested a review from acrosman May 17, 2026 14:14
@acrosman acrosman marked this pull request as ready for review May 18, 2026 01:29
@acrosman acrosman merged commit dcca855 into main May 18, 2026
6 checks passed
@acrosman acrosman deleted the copilot/speed-up-object-track-levels branch May 18, 2026 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Speed up object track base levels

2 participants