Note: "Blackjack insurance is an optional side bet in the game of blackjack that is offered when the dealer's upcard is an Ace. It pays 2-1 if the dealer has a natural blackjack (21). The player may place a separate bet equal to half of the original wager on the insurance line." - William Hills news (source)
As a player I can choose 'insurance' so that I can reduces losses went appropriate.
Acceptance Criteria:
Acceptance Criteria 1: Once dealer's upcard shows Ace, offer player the option to choose insurance.
Acceptance Criteria 2: Choose insurance by clicking on a button.
Acceptance Criteria 3: once clicked, it should halved the original bet if dealer has a natural blackjack.
Note: "Blackjack insurance is an optional side bet in the game of blackjack that is offered when the dealer's upcard is an Ace. It pays 2-1 if the dealer has a natural blackjack (21). The player may place a separate bet equal to half of the original wager on the insurance line." - William Hills news (source)
As a player I can choose 'insurance' so that I can reduces losses went appropriate.
Acceptance Criteria:
Task
Resources: