Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

flight state

Back to all declarations

challenge

type

Value

flight.challenge

Challenge

func() flag.Challenge

Challenge describes this realm to a hall.

Open
OID
0dee25…3d9a:10
Challenge details

Inspect func

flightSize

untyped bigint

// glasses per flight

Value

(3 <untyped> bigint)

tokens

untyped bigint

// tokens on a fresh tab

Value

(2 <untyped> bigint)

tab

type

Value

flight.tab

Taste

func(flight string)

Taste pours a flight: up to three wine names separated by commas, each for one token.

Open
OID
0dee25…3d9a:18
Taste details

Inspect func

Settle

func()

Settle closes your tab and opens a fresh one.

Open
OID
0dee25…3d9a:20
Settle details

Inspect func

Tasted

func(addr .uverse.address) (wines int, tokensLeft int)

Tasted returns how many of the nine wines addr has tasted, and the tokens left on the tab.

Open
OID
0dee25…3d9a:21
Tasted details

Inspect func

pour

func(t *flight.tab, name string)
Open
OID
0dee25…3d9a:22
pour details

Inspect func

tabOf

func(addr .uverse.address) *flight.tab
Open
OID
0dee25…3d9a:24
tabOf details

Inspect func

Render

func(string) string

Render shows the wine list and the open tabs.

Open
OID
0dee25…3d9a:25
Render details

Inspect func
info : flag.Info Inspect
captures : *flag.Ledger Inspect
challenge : type =flight.challenge
Challenge : func() flag.Challenge Inspect
init.4 : func() Inspect
flightSize : untyped bigint =(3 <untyped> bigint)
tokens : untyped bigint =(2 <untyped> bigint)
wines : []string (len=9) Inspect
tab : type =flight.tab
tabs : *v0.Tree Inspect
Taste : func(flight string) Inspect
Settle : func() Inspect
Tasted : func(addr .uverse.address) (wines int, tokensLeft int) Inspect
pour : func(t *flight.tab, name string) Inspect
newTab : func() *flight.tab Inspect
tabOf : func(addr .uverse.address) *flight.tab Inspect
Render : func(string) string Inspect