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

Crafting #62

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

Crafting #62

foxfriends opened this issue Mar 18, 2021 · 0 comments
Assignees
Labels
backend Requires updating the backend (Rust) code game Requires updating the game (Lumber) code

Comments

@foxfriends
Copy link
Owner

foxfriends commented Mar 18, 2021

Crafting is pretty much the same for every faction, other than the way the crafting power is calculated, so let's build something that can be reused for all of them.

For each craftable card in the player's hand, provide a craft(Card) action. This will require:

  1. Determine how many crafting points the player has at the beginning
  2. Which crafting points were spent
  3. Special attention must be paid to for the wildcard crafting costs

Additionally, a done_crafting action should be provided so the player can indicate they will not be crafting any more.

Implement the crafting action for the Marquise in particular to make sure it all works. A proper UI will be needed, but at this time it does not need to be good, just put a few buttons on screen somewhere or something.

Cards which create items should be handled by now. Do not worry about effect cards.

@foxfriends foxfriends added the game Requires updating the game (Lumber) code label Mar 18, 2021
@foxfriends foxfriends added the backend Requires updating the backend (Rust) code label Mar 18, 2021
@foxfriends foxfriends self-assigned this Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Requires updating the backend (Rust) code game Requires updating the game (Lumber) code
Projects
None yet
Development

No branches or pull requests

1 participant