Inspiration

To learn contract but also having fun with a game

What it does

A toss game wherein we will have participants from the Tezos blockchain(their tezos addresses will be used for reference) and they will bet a certain amount of mutez on tossing game ; the winner will be awarded 1 tez and those not winning will lose their bet amount.

How we built it

The code of the game is written as a smart contract in python language using the smartpy library. This smart contract is deployed as Michelson deploy contract. The front-end of the code is written in HTML and CSS. The front end and the smart contract of the game is linked via taquito (java script)

Challenges we ran into

directly producing random numbers was difficult, so in solution to that, we took number from user and performed the desired operations accordingly, thereby resolving the issue.

Accomplishments that we're proud of

Despite of this short time for this concept and its coding, we were able to complete our project and got to learn a lot.

What we learned

to build smart contracts, to develop the front end, and to NEVER use chatgpt for coding, and believe in ourselves.

What's next for TOSS GAME

building more such games

Built With

Share this project:

Updates