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.

reader/v2 package

Overview

Package reader is a realm bot that learns. Every time it stands next to an opponent it writes down what that opponent did, and it keeps those notes across matches. Up close it plays the answer to the opponent's habit: parry a bot that likes to attack, step around one that likes to parry, and attack anyone else. The more it plays a bot, the better it reads it.

Function

Render

func Render(path string) string
Ask AI Claude ChatGPT

Render shows what reader has learned about each opponent.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1ftppd2jpfx0p8cy08th4u9whwvqcpychhlad28/bots/reader/v2.Render()"

Result

Gno Expression Evaluator

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