func Challenge
crossing ActionChallenge runs a fight between two roster fighters and records it. Anyone may call it; the fight is deterministic and its recap public. Returns the fight id.
Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.
Package cagematch is the Cage Match arena: it runs deterministic fights between roster fighters, stores the full reca...
Package cagematch is the Cage Match arena: it runs deterministic fights between roster fighters, stores the full recap of every fight on-chain, and keeps the ladder. Fights are resolved synchronously inside one transaction with bounded compute (9x9 grid, 60 rounds).
Challenge runs a fight between two roster fighters and records it. Anyone may call it; the fight is deterministic and its recap public. Returns the fight id.
FightCount returns how many fights have been recorded.
FightRecapJSON renders a fight recap as compact JSON. Frames are flat arrays: [round, ax, ay, bx, by, ahp, bhp, aact, adir, bact, bdir, admg, bdmg].
Render is the gnoweb entry point. Routes: "" home, "f/<id>" a fight.
RosterNames lists the fighters available to challenge with.
Leaderboard returns ladder entries sorted by points, then name.
GetFight returns a copy of a recorded fight. Panics if unknown.