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

Implement fog_fen() #840

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Implement fog_fen() #840

wants to merge 4 commits into from

Conversation

gbtami
Copy link
Member

@gbtami gbtami commented Nov 20, 2024

To prevent leaking FEN info in Fog of War games to the client side, the only correct solution is to create the "visible" FEN on the server side and send only that to the browser.

src/position.cpp Outdated Show resolved Hide resolved
@gbtami gbtami marked this pull request as draft November 20, 2024 14:49
@gbtami gbtami marked this pull request as ready for review November 21, 2024 18:47
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