PathrockNetwork Gno Explorer
HomeBlocksTransactionsTokensRealmsPackagesValidatorsAnalytics

PathrockNetwork Gno Explorer — an independent explorer for Gno.land Mainnet (gnoland-1), operated by PathrockNetwork. Not an official Gno.land service.

gnowebarchive RPC

gno.land/r/moul/x/daily/closestguess/v0

Realm
Open in gnoweb ↗

Overview

Kind
Realm (renderable)
Name
v0
Namespace
moul / x / daily / closestguess
Files
3 (README)(gnomod.toml)
Exported functions
3
Module
gno.land/r/moul/x/daily/closestguess/v0
gno
0.9

Files (3)

  • README.mdmarkdown
  • gnomod.tomltoml
  • closestguess.gnogno

Select a file to view its exact on-chain source. Sorted README → gnomod → sources → tests.

Functions

  • Guess(cur 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}, n int) string

  • Render

(path string)
string
  • Reveal(cur 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}) string

  • Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.

    Rendered

    RenderedRawgnoweb ↗
    # Closest Guess
    
    A blind, multiplayer number-guessing puzzle. Each round hides a target in **1..1000**. Call `Guess(n)` once per round — you get no feedback. Anyone can call `Reveal()` to close the round: the target is disclosed and whoever landed closest wins.
    
    ## Current round
    
    - Round: **1**
    - Started at block height: 26000
    - Players guessed so far: 0
    - Status: **open** — target hidden until `Reveal()` is called.
    
    ## Leaderboard (closest-ever wins)
    
    _No round has been revealed yet — be the first to call `Reveal()`!_
    
    ## How to play
    
    ```
    Guess(n)   // n in 1..1000, one shot per address per round, no feedback
    Reveal()   // closes the round: reveals target, crowns the closest guess
    ```
    

    vm/qrender output, sanitized (docs/render-security.md) and displayed in an empty-sandbox iframe — scripts, forms and popups cannot run. Links stay inert in-preview; right-click to open.