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

Rules that modify player perspectives (e.g. fog of war) #30

Closed
alexobviously opened this issue Jan 30, 2023 · 1 comment
Closed

Rules that modify player perspectives (e.g. fog of war) #30

alexobviously opened this issue Jan 30, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@alexobviously
Copy link
Owner

alexobviously commented Jan 30, 2023

Although it's technically possible to do this sort of thing (and maybe implement it in Square Bishop), it would be useful to implement this sort of thing in Bishop itself, so that variants could define this sort of behaviour.

I'm not sure exactly how much work this is. I think it's mostly going to be just definitions in variants about how perspective processing should be applied, and output functions. What we probably want is a function that provides a user-facing version of the game state that goes through a filter, which applies the processing. This will probably require a rework of Square Bishop but that's fine, and it will likely be an improvement anyway.

https://www.chess.com/terms/fog-of-war-chess - an interesting first use case

Depends on #40

@alexobviously alexobviously added the enhancement New feature or request label Feb 1, 2023
@alexobviously
Copy link
Owner Author

This is done in 1.3.3 with the new StateTransformer, though there currently isn't an exact fog of war transformer yet, because that depends on some move gen refactors.

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

1 participant