Skip to content Search Apps Documentation Source Content 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.

game33 package

Function

CasinoOutcome

func CasinoOutcome(game string, roll uint64) string
Ask AI Claude ChatGPT

CasinoOutcome maps a roll to what landed. For rps the outcome is "win" | "push" | "lose" (see rpsHouseMove for the move shown).

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1algwpj0dch4stpy7pd87n7a3cwx3pjymlpexn7/game33.CasinoOutcome(,)"

Result