Skip to content

Team 3: Speed ramp feature (closes #75)#125

Open
alex-zakoor wants to merge 5 commits intoRperry2174:mainfrom
alex-zakoor:team3/setup
Open

Team 3: Speed ramp feature (closes #75)#125
alex-zakoor wants to merge 5 commits intoRperry2174:mainfrom
alex-zakoor:team3/setup

Conversation

@alex-zakoor
Copy link

Summary

  • Add speed ramp to Snake game: game speed increases every 5 points by shortening the tick interval
  • Configurable constants (BASE_TICK_MS, MIN_TICK_MS, SPEED_STEP_MS, RAMP_EVERY) keep it tunable and prevent unplayable speeds
  • Speed level displayed in the HUD next to the score

Test plan

  • Start a game and verify speed starts at level 1 (150ms tick)
  • Score 5 points and confirm speed increases to level 2 (140ms tick)
  • Continue scoring and verify speed ramps up every 5 points
  • Confirm speed never goes below 60ms (level 10 cap)
  • Restart the game and verify speed resets to level 1

Closes #75

Made with Cursor

Alex Zakoor and others added 5 commits February 11, 2026 09:56
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Game speed increases every 5 points by shortening the tick interval.
Configurable constants (BASE_TICK_MS, MIN_TICK_MS, SPEED_STEP_MS,
RAMP_EVERY) keep it tunable. Speed level displayed in the HUD.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
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.

Team 3 · Feature: Speed ramp

1 participant