Skip to content

[WIP] Fix stalemate rule implementation for game timeout#16

Merged
revodavid merged 1 commit intomainfrom
copilot/update-stalemate-rule-logic
Mar 13, 2026
Merged

[WIP] Fix stalemate rule implementation for game timeout#16
revodavid merged 1 commit intomainfrom
copilot/update-stalemate-rule-logic

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 13, 2026

  • Understand the issue: stalemate rule was implemented in main.py using tick-based timing (ticks_since_last_collection), but the test file still uses the old time.monotonic interface
  • Update tests/test_game_timeout.py to use the tick-based approach instead of time.monotonic
  • Verify tests pass
  • Run code review and CodeQL check

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI linked an issue Mar 13, 2026 that may be closed by this pull request
@revodavid revodavid marked this pull request as ready for review March 13, 2026 00:42
@revodavid revodavid merged commit 75986c8 into main Mar 13, 2026
1 check failed
Copilot AI requested a review from revodavid March 13, 2026 00:43
Copilot stopped work on behalf of revodavid due to an error March 13, 2026 00:43
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.

Stalemate rule

2 participants