Realm

gno.land/r/moul/x/daily/rpsoracle/v1

Rendered output

Rock-Paper-Scissors Oracle

An adaptive opponent: it doesn't roll dice, it studies you. Every throw is logged, and the oracle always counters whichever move you've played most often. Play a uniform mixed strategy and it can't out-guess you; fall into a habit and it will.

  • Total rounds played: 0
  • No one has beaten the oracle yet.

How to play

Call Play("rock"|"paper"|"scissors") (or r/p/s). View your own record at this realm's path plus your address, e.g. .../rpsoracle:g1youraddress...

Call functions (state-changing)

signs a tx via Adena
Play(moveStr string)

All exported functions (2)

show raw signatures
NameParamsReturns
Play [{"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: 13783, deposit: 1378300"
}