You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Number guessing game: the game data is stored on-chain.
zkp: range proof is performed when each player submit a number on-chain.
zkp: proof is performed when each player reveal their number. The number will be stored in browser local storage first and later compute proof for revelation. It will be verified on-chain.
Hardhat test cases for the zkp range proof and number proof verification on smart contract.
Reveal only the winning submission, but not the actual mean.
Have an advanced mode allowing ppl to submit commitment out of range and open commitment not the same as what it submitted, by URL param e.g. /game/X?advanced=true.
Add instructions on how to play the game
Able to deploy the game on OP Testnet
Write a blogpost & record a video to document your dev progress, learning, and difficulty overcame.
Frontend subscribes to chain events, so you don't have to do a hard refresh.
The text was updated successfully, but these errors were encountered:
Number Guessing Game
/game/X?advanced=true
.The text was updated successfully, but these errors were encountered: