Realm
gno.land/r/moul/x/daily/rpsmatch/v1
Rendered output
Rock-Paper-Scissors Arena
Best-of-three matches against the house. First to 2 round wins takes the match.
- Total rounds played: 0
- No champion yet — be the first to win a match.
How to play
Call Throw("rock"|"paper"|"scissors") (or r/p/s). Your throw starts a new match if you don't have one in progress, and each call plays one round of it.
View your own record at this realm's path plus your address, e.g. .../rpsmatch:g1youraddress...
Call functions (state-changing)
signs a tx via AdenaThrow(moveStr string)
All exported functions (2)
show raw signatures
| Name | Params | Returns |
|---|---|---|
| Throw | [{"Name": "cur", "Type": "interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}", "Value": ""}, {"Name": "moveStr", "Type": "string", "Value": ""}] | [{"Name": ".res.0", "Type": "string", "Value": ""}] |
| Render | [{"Name": "path", "Type": "string", "Value": ""}] | [{"Name": ".res.0", "Type": "string", "Value": ""}] |
Files
Storage
{
"raw": "storage: 12588, deposit: 1258800"
}