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.

gnometavern package

Overview

Realm gnometavern is the Gnome Tavern: a small on-chain tavern game on Gno.land. Players register a gnome, work shifts serving drinks and food from the menu, complete a rotating daily quest board, level up, feast, and leave notes on the tavern wall.

All game rules live in the pure package tavernlogic; this realm owns the persistent state and the caller authentication, and renders the tavern board for gnoweb.

Function

CurrentDay

func CurrentDay() int64
Ask AI Claude ChatGPT

CurrentDay returns the current tavern day number.

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g17dvvky49vjqj6a4cjhwcvzctteqjm9stee000h/gnometavern.CurrentDay()"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/g17dvvky49vjqj6a4cjhwcvzctteqjm9stee000h/gnometavern, for example a function call with arguments.