# HikeMap RPG System - Todo List ## Phase 1: Login on Load - COMPLETED - [x] Remove icon chooser from initial page load - [x] Show auth modal if no `accessToken` in localStorage - [x] Add "Continue as Guest" button to auth modal ## Phase 2: Character Creator - COMPLETED - [x] Add character creator modal HTML/CSS - [x] Implement race selection with stat preview - Human, Elf, Dwarf, Halfling - [x] Implement class selection (Trail Runner available, others grayed "Coming Soon") - Trail Runner (available) - Gym Bro (coming soon) - Yoga Master (coming soon) - CrossFit Crusader (coming soon) - [x] Add character name input - [x] Update database schema (character_name, race columns in rpg_stats) - [x] Create `/api/user/character` endpoint - [x] Wire up creation flow after login ## Phase 3: Character Sheet - COMPLETED - [x] Create character sheet modal UI - [x] Display all stats (HP, MP, ATK, DEF, etc.) - [x] Show XP progress bar with level milestones - [x] Show unlocked skills with descriptions (locked skills shown as grayed out) - [ ] Display equipped items (pending equipment system - Phase 5) - [ ] Add combat statistics (future enhancement) ## Phase 4: Skill Selection System - COMPLETED - [x] Create skill pools per class (SKILL_POOLS object with 2 options at levels 2, 3, 5) - [x] Add 3 new alternative skills (quick_step, second_wind, finish_line_sprint) - [x] Add level-up skill choice modal (2 options per milestone level) - [x] Update database to store unlocked_skills (JSON array column) - [x] Wire into level-up flow (checkLevelUp shows modal at milestone levels) - [x] Update combat UI to show only unlocked skills - [x] Update character sheet to show only unlocked skills ## Phase 5: Equipment System - [ ] Create items table in database - [ ] Create player_inventory table - [ ] Define equipment slots: Weapon, Armor, Accessory - [ ] Add class-specific accessories - [ ] Implement monster loot tables - [ ] Add equipment UI to character sheet - [ ] Calculate effective stats with equipment bonuses ## Phase 6: Admin Editor - [ ] Create admin.html (separate page) - [ ] Add admin authentication middleware - [ ] User management (list, edit stats, grant admin) - [x] Monster types stored in database (monster_types table created) - [ ] Monster management UI (CRUD for monster_types) - [ ] Spawn control (manual monster spawning) - [ ] Game balance settings --- ## Completed - [x] RPG combat system with turn-based battles - [x] Trail Runner class with skills - [x] Discarded GU monster with variants - [x] Multi-monster combat encounters - [x] XP bar in HUD - [x] Stat persistence fix (authToken → accessToken) - [x] Phase 1: Login on Load - [x] Phase 2: Character Creator - [x] Monster persistence (monsters saved to database, persist across login/logout) - [x] Phase 3: Character Sheet (click class name in HUD to view) - [x] Phase 4: Skill Selection System (choose 1 of 2 skills at levels 2, 3, 5) - [x] Monster types moved to database (future-proofing for admin editor)