diff options
| author | historia <[not public]> | 2026-06-16 01:59:27 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-16 01:59:27 -0400 |
| commit | 43f21aabae8924f35c12c8485e690aeefe0089fb (patch) | |
| tree | b5fbadb89df3cf4ffec86503bb8e2d7e52b27454 /internal/game/doc.go | |
| parent | 4cc1ddcd185509080b4b3e15d1646567edd51c9d (diff) | |
| download | thehouseoficarus-43f21aabae8924f35c12c8485e690aeefe0089fb.tar.gz | |
feat: overhauled ansi color, added prompt options
Diffstat (limited to 'internal/game/doc.go')
| -rw-r--r-- | internal/game/doc.go | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/internal/game/doc.go b/internal/game/doc.go deleted file mode 100644 index e276994..0000000 --- a/internal/game/doc.go +++ /dev/null @@ -1,30 +0,0 @@ -// Package game is the core session handler, command dispatch, login flow, -// and action system for the MUD. -// -// The Game struct holds all world state: room/world access, item/object -// stores, mob instances, behavior definitions, the player hub, and the -// tick engine. HandleSession routes incoming input through the login -// state machine into the in-game command dispatch. -// -// Commands are dispatched via handleGameCommand in game.go, which -// resolves account aliases before switching on the command word. -// Most commands cancel the player's ongoing action (gathering, etc.). -// -// Action system: StartAction normalizes verbs, resolves object/mob -// targets, loads behaviors, and routes to type-specific handlers. -// Actions that take time (gather, use, burn, stoke) tick via -// AdvanceActions, called each 600ms tick. -// -// Tick handlers: ProcessQueuedCommands, DisconnectTick, RegenTick, -// WanderTick, SharedDepletionTick, and FireTick run each game tick to -// advance world simulation. -// -// File organization: -// cmd_*.go — player command handlers (doLook, doMove, doGet, etc.) -// action_*.go — action lifecycle (startGather, advanceBurn, talk, toggle, etc.) -// login.go — account creation, authentication, character management -// map.go — BFS graph builder, tiny + full-map rendering -// tick.go — per-tick world updates (disconnect, regen, wander, woodcutting) -// utils.go — shared types and helper functions -// help.go — help topic loading and display -package game |
