Skip to content

Repository files navigation

rock-paper-scissors

Solidity smart contract of a rock, paper and scissors game. Project made for cryptocurrency class 2022.

1 - On contract creation player one submits his move hidden in an hash.
2 - Player two submits his move openly
3 - Player one has to reveal the move by submitting the move and the nonce used. Validity of players two move is verified by the contract.

About

Solidity smart contract of a rock, paper and scissors game

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages