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.

corkscrew source realm

Package corkscrew is a community challenge for the Cellar, written by a player to show how any realm can join the hal...

Overview

Package corkscrew is a community challenge for the Cellar, written by a player to show how any realm can join the hall by importing the flag package. It is about the order in which an avl.Tree iterates.

Functions 3

func Open

crossing Action
1func Open(cur realm)
source

Open opens the oldest bottle on the shelf: the first one the register lists. If it is yours, the flag is yours.

func Render

1func Render(_ string) string
source

Render shows the shelf in register order.

func Shelve

crossing Action
1func Shelve(cur realm, year int)
source

Shelve adds your bottle of the given year to the shelf.

Dependencies

Source Files 3