Inspiration
ZK Technology makes user experience closer to web2 games. We also built gambling games on other blockchains, however we had strugles to protect user data, like users' cards, and when we managed to protect we had to sacrifice game experience. Users had to confirm again to prove their honest play. In Aleo we neither sacrificed user experience nor had strugles to protect user data. Everthing we need was already providers on-chain
What it does
We moved a simple classic blackjack game that is very popular in casinos to on-chain, we also gave user chance to shuffle his cards to make it closer to in person casino experience. This also creates confidence to casino because user can check the randomness he caused. We also give chance players to become the house
How we built it
The house bets and if a player agrees both player and a house send a seed and the amount of bet into the contract and randomness is derived from these seeds with a hash function. Then the contract sends the total sum to the winner
Challenges we ran into
Apart from one of our teammate got sick and a computer broke down, we only had difficulties with Leo language. Because Leo is a little different then what we are used to and we recently learned it. However, we noticed that Leo is an easy language to learn we can get used to sooner than we think
Accomplishments that we're proud of
We couldn't manage to deploy and send our first transaction or make first querry. We could only designed the structure of our casino
What we learned
We learned Leo and what Aleo is capable of and how it is different from other blockchains
What's next for Blockjack
We want to deploy and test it ASAP. Then we want to create a lobby where many tables player can join. And a table where players decides how much to bet against the house. And also we want to create a pool where liquidity providers can invest and take proprotionally their profit from income our lose. And we also want to add rock-scissors-paper game with tournament property.
Built With
- aleo
- blockchain
- leo
- react
- web3
Log in or sign up for Devpost to join the conversation.