Suitable for you
Blackjack is one of the most popular casino games in the world. You play by trying to beat the dealer’s hand with a hand of cards that add up to as close to 21 as possible without going over. In Web3 Blackjack, you can play the game using cryptocurrency instead of traditional fiat currency.
Players will “bet” an amount for each round they play – if they win, they get back twice the amount. If they lose or face a draw, they forfeit the amount to the prize pool.
During this short course, you will:
- create a smart contract to accept and transfer cryptocurrency payments to and from players
- develop an interactive UI that that lets users connect their MetaMask wallets, determine if they want to hit or stand, and claim any winnings
- learn all about integrating smart contracts with the front-end
- uncover leading tools for coding, cryptocurrency integration, and contract deployment
-
Tools and Requirements
-
Creating your Solidity smart contract
-
Coding your front-end
No prior experience with Ethereum or Solidity is required, but some familiarity with web technologies like JavaScript would make it easier to follow along.
While this tutorial is designed for beginners, experienced web developers who are new to blockchain may find insight and ideas for web projects that can be created on the blockchain!
We will be using test tokens and deploying to a test network on the blockchain. No real currency will be used!
0.0
0 total
5
4
3
2
1