From 1aba2bdd23aebed4032333e74aa553c40a31fcbd Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sun, 14 Jun 2026 21:07:26 -0400 Subject: refactor: added docs, split up some components in game package --- internal/player/doc.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 internal/player/doc.go (limited to 'internal/player/doc.go') diff --git a/internal/player/doc.go b/internal/player/doc.go new file mode 100644 index 0000000..a163bd7 --- /dev/null +++ b/internal/player/doc.go @@ -0,0 +1,14 @@ +// Package player defines character data, skills, equipment, inventory, +// and account management for the game. +// +// The Player struct is the full character sheet: 23 skills with RSC-style +// XP progression, 28-slot inventory, 11-slot equipment, combat level +// calculation, and death mechanics. +// +// Accounts store authentication (salted sha256 passwords), character lists, +// and command aliases. Validation functions enforce name and password rules. +// The AccountStore manages persistence to YAML files under data/players/. +// +// Player options (15 settings) support bool, string, and int types with +// defined defaults and valid values. +package player -- cgit v1.2.3