Realm
gno.land/r/moul/x/daily/connect4/v1
Rendered output
Connect Four
Two-player Connect Four on a 7×6 board. 🔴 is the game creator, 🟡 the opponent.
No games yet. Call NewGame(opponent) to start one.
Call functions (state-changing)
signs a tx via AdenaDrop(gameID int64, column int)
NewGame(opponent string)
All exported functions (3)
show raw signatures
| Name | Params | Returns |
|---|---|---|
| NewGame | [{"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": "opponent", "Type": "string", "Value": ""}] | [{"Name": ".res.0", "Type": "int64", "Value": ""}] |
| Drop | [{"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": "gameID", "Type": "int64", "Value": ""}, {"Name": "column", "Type": "int", "Value": ""}] | — |
| Render | [{"Name": "path", "Type": "string", "Value": ""}] | [{"Name": ".res.0", "Type": "string", "Value": ""}] |
Files
Storage
{
"raw": "storage: 13883, deposit: 1388300"
}