Versions in this module Expand all Collapse all v0 v0.2.0 Aug 13, 2024 v0.1.1 Apr 26, 2024 Changes in this version + type AddMonsterPayload = Monster + type AttackMonsterPayload struct + Damage int + MonsterName string + type GameApplication struct + func NewGameApplication(gm common.Address) *GameApplication + func (a *GameApplication) Advance(env rollmelette.Env, metadata rollmelette.Metadata, ...) error + func (a *GameApplication) Inspect(env rollmelette.EnvInspector, payload []byte) error + type GameState struct + Monsters map[string]Monster + type Input struct + Kind InputKind + Payload json.RawMessage + type InputKind string + const AddMonster + const AttackMonster + type Monster struct + HitPoints int + Name string