Code

Blackjack Game Add-on for Crypto Casino

Blackjack Game Add-on for Crypto Casino

Crypto Casino - Blackjack

About Blackjack Add-on

Blackjack is an add-on game for the Crypto Casino application. This game can not be installed and used on its own without having Crypto Casino purchased and installed first.

Blackjack Features

Standard payouts

  • Blackjack pays 3 to 2
  • Regular win pays 2 to 1
  • Insurance pays 2 to 1

Additional features

  • Ability to double the initial bet
  • Ability to split the hand

Custom Bets

User can choose how much to bet.

Provably fair

When you open the game page the server generates a secret and a seed and reveals its hash (using HMAC SHA256 algorithm). The server secret represents randomly shuffled card deck. The server seed is a cryptographically secure random alpha-numeric string. The hash of these 2 strings helps to ensure that the initial card deck is not altered after you choose the bet amount. After the game is finished the server secret and the server seed are revealed, so you can easily calculate and verify the hash.

When you play a game you can pass an extra custom string – client seed (if it’s not specified a random number is automatically generated by your browser). The server will then calculate another hash using the server secret, the server seed and the client seed. The last 5 chars of this hash (representing a hexadecimal value) will be converted to an integer. The result number will be divided by 52 (number of cards in the deck) and N cards will be cut (moved from the top to the bottom of the deck), where N is the remainder of the division. Because the client seed can not be predicted by the server the number of cards cut from the initial deck is completely random and hence you can be sure that the game result is fair.

To check that a game you played was fair go to History >> My games page, select a game and click Verify button.

Game settings

A casino administrator can:

  • Set min and max bet amount
  • Set default bet amount

Demo environment

Please sign up at Crypto Casino to test the application. You can use the following credentials to check the backend features:

user: demo@financialplugins.com, password: admin

System requirements

Support

Blackjack Game Add-on for Crypto Casino - 1

Changelog

v1.0.2 - 16 Apr 2019
- Bug fix: display order of dealer cards.

v1.0.1 - 15 Apr 2019
- Bug fix: cards animation.

v1.0.0 - 15 Apr 2019
- Initial release.
by
by
by
by
by
by