Gonnect Variant: Cascading Connection Goals - #470
Merged
Perlkonig merged 4 commits intoSep 14, 2026
Merged
Conversation
Enables passing and a second end condition: two consecutive passes. An outright edge-to-edge connection still wins immediately as before. Otherwise the winner is found by checking, from the full board down to the centre point, the largest centred subboard on which exactly one player has an unbroken orthogonal connection between its two opposite sides; if no such subboard exists, the game is a draw. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y6dm6EQVSpd9YtMQ8xjeMR
The version identifier is for incompatible saved-state shapes. This change doesn't alter IMoveState/IGonnectState fields (pass already reuses the existing "place"-less results/lastmove machinery other games use), so no bump is warranted. Also add a test playing out the exact tengen scenario via real moves (place, pass, pass) rather than only via direct board manipulation. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y6dm6EQVSpd9YtMQ8xjeMR
Member
|
Can you help me better understand the goal of the Gonnect changes here? Also, looks like there are some conflicts with your other Esperanto changes. You'll want to clear those up. |
…port-kdsc5q # Conflicts: # locales/eo/apgames.json
Contributor
Author
|
Okay, I think since this hasn't merged yet, I don't need to make a new PR, right? |
Contributor
Author
|
It's to implement this variant: https://play.abstractplay.com/feedback/6932c4ef-f3b6-417a-a588-097c9acf08f6 |
Member
|
Correct. You can just add commits to the PR. |
Member
|
If you don't mind, add |
Keeps it out of production selection until it's been validated on the dev server. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y6dm6EQVSpd9YtMQ8xjeMR
Contributor
Author
|
Done |
Member
|
Cheers! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If both players pass, ever-decreasing subboards are checked for valid connections. The biggest subboard where only one player connects across it determines the winner