You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is how I imagine performing actions should work, from a user point of view:
Let's say that you have the following actions available: (just as an example, some of these actions does not exist yet but may be added at any time in the future, whenever the server feels like it)
Play Card A in hand
Play Card B in hand
Attack with Card C on battlefield
Scrap Card C on battlefield
Activate Hero Power: Deal 1 damage to any target
End Turn
Card A and B in hand should be highlighted somehow so that it is clear that they can be played, or they can have a button next to them that says "Play"
Card C should be highlighted so that it is clear that it can attack (or have a button next to it that says "Attack")
Card C should also have a button "Scrap"
Two buttons for the Player-related actions: "Activate Hero Power", "End Turn".
Actions without targets
If you press "End Turn", the turn ends directly. No need for any confirmation.
If you play Card A or B, it gets played directly, no confirmation.
If you click the button for scrapping Card C, it gets scrapped directly, no confirmation.
Basically:
All actions that does not have targets should be performed directly when their corresponding button is clicked
Actions with targets
If you choose to Attack with Card C on battlefield, or activate the Hero Power, you will request the target ids from the server. The available targets should be highlighted (a bunch of cards and players).
There should be a "Cancel" button available that cancels the action, as if you never clicked the action in the first place
If the action only needs exactly one target, click the target and you will perform the action.
Actions with more than one target, or up to one target (i.e. 0 or 1 targets)
When you click the button for performing an action, and the action does not require exactly one target:
toggle the targets that you want (click once to select, click again to unselect)
Selected targets should be highlighted
When you are happy with your selection, you click an "OK" button (or some button that has that effect)
The text was updated successfully, but these errors were encountered:
Some actions with targets, such as Mulligan, should not require a target. (which makes the targetRequired boolean slightly confusing, sorry for that). I mean... it should be possible to target 0 cards.
The AvailableTargetsMessage for the Mulligan action is:
This is how I imagine performing actions should work, from a user point of view:
Let's say that you have the following actions available: (just as an example, some of these actions does not exist yet but may be added at any time in the future, whenever the server feels like it)
Card A and B in hand should be highlighted somehow so that it is clear that they can be played, or they can have a button next to them that says "Play"
Card C should be highlighted so that it is clear that it can attack (or have a button next to it that says "Attack")
Card C should also have a button "Scrap"
Two buttons for the Player-related actions: "Activate Hero Power", "End Turn".
Actions without targets
Basically:
Actions with targets
Actions with more than one target, or up to one target (i.e. 0 or 1 targets)
When you click the button for performing an action, and the action does not require exactly one target:
The text was updated successfully, but these errors were encountered: