Create Game
Start a new game and lock your move immediately when the transaction is created.
A simple two-player wallet game on OP_NET: create a game, lock in a move, let another wallet join, then execute and reveal the winner.
One wallet creates a game and locks in rock, paper, or scissors. A second wallet can join any open game and submit its move. Before execution, the other player should not see your move in the wallet UI. Once executed, both moves are revealed and the winner is shown.
Start a new game and lock your move immediately when the transaction is created.
Any other wallet can browse open games and join one with its own move.
The wallet keeps the opponent move hidden in the UI until the game is executed.
After execution, the wallet shows both moves and the final result clearly.
npm install and build it, for example with npm run build:chrome.dist/.