Commit Graph

8 Commits

Author SHA1 Message Date
Keith Solomon
4dde4bff99 Feature: implement room entry flow with encounter resolution and logging 2026-03-15 13:26:59 -05:00
Keith Solomon
39703ce6b0 Feature: enhance encounter resolution with creature names and result labels 2026-03-15 13:11:28 -05:00
Keith Solomon
1ff20723ec Feature: implement dungeon state management with room expansion and exit handling 2026-03-15 13:05:48 -05:00
Keith Solomon
120e144b3f Feature: add level 1 content including room templates, encounter tables, and room generation logic
- Introduced contentHelpers for table and room template lookups.
- Created level1Rooms.ts with various room templates for level 1.
- Added level1Tables.ts containing encounter tables for animals, martial, dogs, people, fungal, guards, workers, and room types.
- Implemented room generation functions in rooms.ts to create rooms based on templates and tables.
- Added tests for room generation logic in rooms.test.ts to ensure correct functionality.
2026-03-15 12:54:46 -05:00
Keith Solomon
6bf48df74c Feature: add character creation logic and tests
- Implement character creation functions to handle adventurer setup.
- Add validation for adventurer name and selection of starting items.
- Introduce new items in sample content pack: Flint and Steel, Pouch, Wax Sealing Kit, and Backpack.
- Create tests for character creation functionality to ensure valid options and error handling.

Feature: implement dice rolling mechanics and tests

- Add functions for rolling various dice types (d3, d6, 2d6, d66) with validation.
- Implement modifier application with clamping for roll results.
- Create tests to verify correct behavior of dice rolling functions.

Feature: add table lookup functionality and tests

- Implement table lookup and resolution logic for defined tables.
- Support for modified ranges and fallback to nearest entries.
- Create tests to ensure correct table entry resolution based on roll results.
2026-03-15 11:59:50 -05:00
Keith Solomon
e303373441 feature: Initial code setup 2026-03-15 10:26:20 -05:00
Keith Solomon
e052544989 feature: Implementation notes 2026-03-15 10:08:37 -05:00
Keith Solomon
95c629a42e feature: Initial commit 2026-03-15 09:41:22 -05:00