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

Support Go #701

Open
PraseodymiumSpike opened this issue Aug 23, 2023 · 2 comments
Open

Support Go #701

PraseodymiumSpike opened this issue Aug 23, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@PraseodymiumSpike
Copy link
Contributor

Essentially, this would make it so that wéiqí could be played using Fairy-Stockfish. Capture by Surrounding would mean that when a string is surrounded in the wéiqí style, it is captured. When a player plays, potential capture of the opponent's pieces would be calculated, and then potential capture of one's own pieces would be calculated. Royal pieces in atari would be considered to be in check, and by default, it would be illegal to capture your own royal piece. Also, it could be made illegal for some Piece types to be dropped in a way that one's own Pieces would be captured at all. This would allow us to simulate the 9-by-9 version of wéiqí. The engine doesn't actually have to be very good at playing; it would just be helpful if it could determine which moves were legal.

@PraseodymiumSpike
Copy link
Contributor Author

Actually, you could make any play that captures any of your own pieces illegal. This would make it so pieces can't capture royal pieces if that would result in the capturing piece's instant capture, though.

@ianfab ianfab added the enhancement New feature or request label Aug 23, 2023
@ianfab ianfab changed the title Support Capture by Surrounding and Making Go-Suicidal Drops Illegal Depending on Piece Type Support Go Oct 4, 2023
@osmiumic
Copy link

i'd like to note that not all variants of Go make self-capture illegal. very occasionally, there is a tactical situation where self-capture is better from what i remember reading about it. (i also play Go as a hobby)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants