Skip to content

Add indicators for illegal card play #121

@norswap

Description

@norswap

Currently the game allows playing a single card every turn.

Two things are thus illegal:

  • playing a card when it's not your turn
  • playing a card when you've already played one

But the interface currently shows the green drop background in all of these scenarios. This should be changed so that this drop background only appears in situation where playing a card is legal. The condition is probably already in the code somewhere, since we do not trigger a playCard transaction when it is not possible, which just need to extend the condition to the display of the green background.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions