Skip to content

P14 — Add a brief pause when Commit-Man eats - #31

Merged
codelovingcat merged 2 commits into
mainfrom
feature/issue-29-commit-pause
Oct 12, 2026
Merged

codelovingcat merged 2 commits into
mainfrom
feature/issue-29-commit-pause

Conversation

@codelovingcat

Copy link
Copy Markdown
Owner

Summary

  • Extend the frame just before Commit-Man reaches a green contribution, matching the brief eating beat used in Snake.
  • Add one or two extra frame durations, alternating deterministically by score: 1 extra frame for odd scores, 2 for even scores.
  • Naturally empty gray cells do not trigger pauses because they never create score events.
  • Preserve configured frame timing and add unit tests for pause timing and no-pause frames.

Timing note

The current default frame duration is 70 ms, so the pause adds approximately 70 ms or 140 ms. A 1–2 ms delay would not be perceptible in the GIF.

Scope

Only GIF frame timing and its tests change; route generation, colors, character size, and score visuals remain unchanged.

Validation

GitHub Actions will run the TypeScript build and test suite.

Closes #29

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@codelovingcat
codelovingcat merged commit 2e8e967 into main Oct 12, 2026
1 check passed
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.

P14 — Add a brief pause whenever Commit-Man eats a green cell

1 participant