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

Movement action #63

Open
foxfriends opened this issue Mar 18, 2021 · 0 comments
Open

Movement action #63

foxfriends opened this issue Mar 18, 2021 · 0 comments
Labels
frontend Requires updating the frontend (JS/Svelte) code game Requires updating the game (Lumber) code

Comments

@foxfriends
Copy link
Owner

The movement action allows moving any number of warriors from a clearing to another adjacent clearing (if the mover rules at least one of the two clearings). The server should be able to determine which clearings can be moved between, and provide a actions move(From, To, Count) to the client for each pair of clearings, and each number of warriors in each.

Since all factions are able to move, make this as reusable as possible. No need to worry about the exceptions made for certain factions yet.

The frontend will then need to be updated to handle the move action, somehow allowing the player to choose how many warriors to move and sending the corresponding number back to the server.

@foxfriends foxfriends added frontend Requires updating the frontend (JS/Svelte) code game Requires updating the game (Lumber) code labels Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Requires updating the frontend (JS/Svelte) code game Requires updating the game (Lumber) code
Projects
None yet
Development

No branches or pull requests

1 participant