Blackjack
Decentral Games blackjack is 4 deck, accommodating 1-4 players.
Decentral Games Blackjack, in Chateau Satoshi [-75,76]

Gameplay

To play, each player may click into a slot on the table, and select a chip(s) amount by clicking on the floating glowing chips.
After the first player selects the initial bet amount, an 8 second countdown begins and all other players must place a bet before the countdown ends and the cards are dealt. The objective of the game is to get the sum of your cards as close to 21 as possible without going over 21, and each player plays against the dealer. Wins pay out 2x initial bet and blackjacks pay out 2.5x initial bet.
Players can choose to play as they wish, regardless of hand value, but the dealer must hit on 16 and lower and stay on 17 and higher.

Insurance

When the dealer is showing an ace, each player has the option to place an insurance bet at a price of half their initial wager. Place an insurance bet protects the player against the scenario that the dealer's hidden card is a 10 value card (King, Queen, Jack, or 10) and therefore has a blackjack.
In the event a player places an insurance bet and the dealer has a blackjack, the player gets their initial bet back. In the event a player places an insurance bet and the dealer doesn't have a blackjack, the player loses the insurance bet and the game continues as usual.

Splitting Pairs

When the player is dealt two cards of the same value (for example, two 6s, two aces, or even a 10 and a King), they have the option to split the pair. This means that the two cards are split into two separate hands, each with the bet that the user initially wagered, and the player continues as if they are playing both hands individually. You can only split pairs once.

Doubling Down

On each hand, a player has the option to double down on their first move. Doubling down doubles the player's initial bet and forces the player to hit one card, then stay. There are no double downs after splits.

Edge Cases

Dealer hits on soft 17.

Max Bet

The current max bet is 500 DAI and 2,000 MANA per hand.

House Edge

The house edge in blackjack is 0.73%.

Source Code

You may view our blackjack smart contract here.
Last modified 4mo ago