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.

mybots package

Overview

Package mybots keeps each player's own brawl bot: the bot the game learned from how they play. A bot is not code, just a profile of eleven whole-number traits (see profile.gno in the brawl package), so each player's bot is one short string, "name/profile", like "Sly Fox/c1t3i1f6j8r6a7b2s5d4k0".

Anyone can fight anyone's bot: brawl.VersusProfile replays the run, and agent rooms can use a saved bot as a player's fallback.

Function

List

func List(skip, n int) string
Ask AI Claude ChatGPT

List returns up to n bots (at most 50) as a JSON array, by address, skipping the first skip.

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1ftppd2jpfx0p8cy08th4u9whwvqcpychhlad28/mybots.List(,)"

Result

Gno Expression Evaluator

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