Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hexapawn] Player wins in a position they shouldn't #37

Open
IAGOnGithub opened this issue Feb 5, 2023 · 0 comments
Open

[Hexapawn] Player wins in a position they shouldn't #37

IAGOnGithub opened this issue Feb 5, 2023 · 0 comments

Comments

@IAGOnGithub
Copy link

Affects: Hexapawn game

Key: y is a black pawn, X is a white pawn

In the following position, the player wins as if the position were drawn, even though the AI has three legal moves; a2. axb2, and c3.

     1 2 3

A    X
B      y X
C 

This does not happen in the mirrored position. The AI sees that it has valid moves and will play one as expected.

     1 2 3

A        X
B    X y
C 

Apologies if this is the wrong place to file an issue.

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

No branches or pull requests

1 participant