devklick/basic-blackjack

Feature: highlight winner cards / dim loser cards

Closed this issue ยท 2 comments

To help make clear whether the dealer or player won the round, it might be good to either highlight the winners cards or dim down the losers cards.

At present, the only things that inform you who won the round is some text and the score.

The following will be considered:

  • change the colour of the winners cards entirely
  • apply a border around the winners cards to make them "glow"
  • make the losers cards semi transparent

Additionally (or alternatively), the space in the player names boxes could be utilized to add some more information that highlights the winner. The following will be considered:

  • line through losers name
  • bold the winners name
  • change colour of names
  • add "winner" and "loser" to the boxes
  • add smiley to winner and frowny to loser

๐ŸŽ‰ This issue has been resolved in version 0.4.0 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

Decided not to use the text box that contains the participant names, as on smaller screens, there isnt much room to play with. Instead, I've applied a glow/pulse to the winning cards and reduced the opacity of the losers cards.
image