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

Fog of War #35

Open
shadowmoose opened this issue Mar 27, 2022 · 0 comments
Open

Fog of War #35

shadowmoose opened this issue Mar 27, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@shadowmoose
Copy link
Owner

It should be "easy" enough to add a "dark" flag to each board, and if set, a list of revealed tiles could be tracked.

This could come with a tool menu to cover and reveal tiles, the ability to coat the entire map, and the option to toggle the host-side visibility. Since visible tiles are likely to be the minority in this situation, it's probably best to track a list of uncovered tiles.

The clients would simply need to render terrain with a black background, and the Host would only ever send "uncovered" terrain. Erasing darkness would functionally work as if drawing it, for sending data to the clients.

Maybe, if we're feeling fancy, this menu could also support drawing/erasing with a circle shape.

@shadowmoose shadowmoose added the enhancement New feature or request label Mar 27, 2022
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