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.