Skip to content

fix: game over winner - #851

Merged
jim-at-stink merged 1 commit into
go-v2/mainfrom
go-v2/fix/game-over-winner
Mar 26, 2026
Merged

fix: game over winner#851
jim-at-stink merged 1 commit into
go-v2/mainfrom
go-v2/fix/game-over-winner

Conversation

@jim-at-stink

@jim-at-stink jim-at-stink commented Mar 26, 2026

Copy link
Copy Markdown
Collaborator

Zoonou spotted that the winner was incorrectly displayed on the GameOver screen.

This was a bug from a change I made to add the extra GameOver step in at the end after the player moves, I was setting players to an empty default for this step, but the options are being used in this component to select the winner directly from the content of the replay log, specifically the reward value on each player.

This PR fixes up this issue by setting the players to the players on the last real move made by the LLM.

Screenshot 2026-03-26 at 10 38 03

@jim-at-stink
jim-at-stink marked this pull request as ready for review March 26, 2026 10:42
@jim-at-stink
jim-at-stink merged commit c2278c8 into go-v2/main Mar 26, 2026
3 checks passed
@jim-at-stink
jim-at-stink deleted the go-v2/fix/game-over-winner branch March 26, 2026 11:00
jim-at-stink added a commit that referenced this pull request Mar 31, 2026
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.

2 participants