Skip to content

When capturing a sum of cards need to check if there isn't the exact card on the table and in case fail the capturing #33

@dbertella

Description

@dbertella

when a player has a card on his hand eg a king and on the table there is another kind along with a six and a four then the player cannot capture the six and the four but the king should be choose instead.

  • Add server side check that there are no available card to capture on the table
  • if a player play one card and the same card is on the table that must be picked up
  • if there are multiple valid combinations the player must choose between them
  • once we have this checks we can move the ux to be player only play a card on the table then the server responds with:
    a. no capture
    b. capture action (with animation)
    c. intermediate action in which player need to choose between different possible capture solutions and then play the capture

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions