Commit Graph

13 Commits

Author SHA1 Message Date
46afd82060 fix: stop combatLoop goroutine and remove lobby room on session exit
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 10:56:23 +09:00
e8887cd69a fix: use fingerprint as player ID to prevent name collision
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 10:50:21 +09:00
15614b966a fix: clamp target cursor when monsters die 2026-03-24 10:44:25 +09:00
b6c28ddd80 fix: set room status to Playing when game starts 2026-03-24 10:40:04 +09:00
e13e1e7a7d fix: prevent duplicate SaveRun calls on game over 2026-03-24 10:27:12 +09:00
f2ac4dbded feat: arrow-key room navigation, neighbor visibility, map UX improvements
- Exploration uses Up/Down + Enter instead of number keys
- Adjacent rooms shown with cursor selection in HUD
- Neighboring rooms visible on fog of war map
- Room numbers displayed on tile map with type-colored markers

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 01:04:08 +09:00
26784479b7 feat: BSP dungeon generation with 2D ASCII tile map
Replace list-based room display with proper 2D tile map using Binary
Space Partitioning. Rooms are carved into a 60x20 grid, connected by
L-shaped corridors, and rendered with ANSI-colored ASCII art including
fog of war visibility.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 00:57:16 +09:00
92741d415d feat: target selection with Tab, individual flee in solo
- Add targetCursor to Model; Tab cycles through monsters in combat
- Pass targetCursor to renderGame/renderHUD; show "> " marker on selected enemy
- Attack and Skill actions use targetCursor as TargetIdx
- Update action bar to show [Tab]Target hint
- Replace unanimous-flee block with per-player flee; solo mode transitions to PhaseExploring immediately on success

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 00:53:40 +09:00
7556073cb5 feat: display turn countdown timer in combat HUD
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 00:53:17 +09:00
a1e9e0ef68 feat: lobby join-by-code with J key and 4-char input
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 00:52:58 +09:00
6809e49226 fix: remove debug, save rankings, block dead actions, save nickname
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 00:51:04 +09:00
4e76e48588 feat: TUI views, full state machine, and server integration
Add title, lobby, class select, game, shop, and result screens.
Rewrite model.go with 6-screen state machine and input routing.
Wire server/ssh.go and main.go with lobby and store.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 00:11:56 +09:00
d36e364491 feat: project scaffold with SSH server and placeholder TUI
Sets up Go module, Wish/BubbleTea SSH server on port 2222, placeholder
TUI model showing "Welcome to Catacombs!", Dockerfile, and docker-compose.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 23:41:45 +09:00