Commit Graph
228 Commits
Author SHA1 Message Date
Hide_D 44ec80c93b misc 2026-01-15 17:53:53 +00:00
Hide_D 9e5f652302 docs: add game frontend SPA implementation plan to architecture 2026-01-15 17:47:04 +00:00
Hide_D 7a289c22d9 buildMinConstraints 구현 2026-01-15 17:29:26 +00:00
Hide_D 4a0b18954d Refactor command specifications to use availabilityArgs instead of args
- Updated multiple command specifications across various files to replace 'args' with 'availabilityArgs' for better clarity and consistency in argument handling.
- Removed empty 'args' objects in several command specifications to streamline the code.
- Ensured that all relevant commands in both general and nation action directories reflect these changes.
2026-01-15 16:43:24 +00:00
Hide_D a7b22f0502 커맨드의 arg 타입에 zod 강제. 2026-01-15 16:34:18 +00:00
Hide_D 39e7eddcf7 미구현 커맨드 추가 2026-01-15 15:56:24 +00:00
Hide_D 237e7e73cc feat: add Zod schema validation for command arguments in various action modules
- Introduced `argsSchema` property in `TurnCommandSpecBase` to enforce argument validation using Zod.
- Refactored argument parsing in multiple action modules (e.g., `che_NPC능동`, `che_강행`, `che_건국`, etc.) to utilize Zod schemas for improved type safety and validation.
- Removed redundant manual checks for argument types and replaced them with Zod's validation mechanisms.
- Enhanced code maintainability and readability by centralizing argument validation logic.
2026-01-15 15:27:20 +00:00
Hide_D d1b2076a32 추가 유닛 테스트 2026-01-15 15:02:09 +00:00
Hide_D f12d3cf4fe zod arg parse 작업 진행 2026-01-15 15:01:58 +00:00
Hide_D 24fbace987 lint 로직 변경 2026-01-15 14:58:44 +00:00
Hide_D 62279dc587 todo 추가 2026-01-15 14:49:52 +00:00
Hide_D 9c1da3a5d5 턴엔진 테스트 및 버그 수정 2026-01-15 13:27:16 +00:00
Hide_D 550910811c feat(ai): add autorun policies for general and nation management
- Introduced `policies.ts` to define AI policies for generals and nations, including priority actions and flags.
- Implemented `AutorunGeneralPolicy` class to manage general-specific actions based on AI options and server/nation policies.
- Implemented `AutorunNationPolicy` class to handle nation-specific actions, including resource requirements and combat strategies.
- Added types for AI context and world view in `types.ts` to facilitate interaction with game state and entities.
2026-01-11 14:49:42 +00:00
Hide_D cc41d1538e 코드 수정 2026-01-11 11:48:12 +00:00
Hide_D 511aade81c 구현 2026-01-11 10:35:12 +00:00
Hide_D 373ddd863d 코드 2026-01-11 10:05:42 +00:00
Hide_D dc0b9271fb 코드 이식 2026-01-11 09:49:22 +00:00
Hide_D 6497b09b9d 사령턴 추가 2026-01-11 03:26:14 +00:00
Hide_D baa913a09c 사령턴 추가 구현 2026-01-10 14:49:39 +00:00
Hide_D f334cc297a ㅍㅍ 2026-01-10 14:04:52 +00:00
Hide_D a6c2077be7 수정 2026-01-10 13:49:33 +00:00
Hide_D 6a7151da4f 테스트 수정 2026-01-10 13:28:59 +00:00
Hide_D 98e4617393 유닛 테스트 수정 2026-01-10 13:23:54 +00:00
Hide_D 3ec7e66948 constraint 실패 후 실패 검사 결과 항목을 직접 반환. 2026-01-10 13:16:43 +00:00
Hide_D d5d3949705 예턴을 통한 테스트 수정 2026-01-08 16:43:50 +00:00
Hide_D 77185f1d49 건국 커맨드 구현 및 테스트 추가 2026-01-08 16:21:15 +00:00
Hide_D 2c541199da 예턴을 포함한 테스트 2026-01-08 15:14:52 +00:00
Hide_D e91fe06762 커맨드 엔진 실행에서 alternative 추가 2026-01-08 14:39:45 +00:00
Hide_D bc9c0fd717 misc 2026-01-08 14:19:13 +00:00
Hide_D 50dfed9adf 건국 관련 추가 구현 2026-01-08 14:16:34 +00:00
Hide_D 3e649f75fa 커맨드 보정 2026-01-08 13:59:59 +00:00
Hide_D f62bbb7927 refactor: apply consistent formatting and minor import adjustments across test and tsconfig files. 2026-01-07 18:05:22 +00:00
Hide_D 542a65c2a9 feat: include test directories in tsconfig files, disable no-explicit-any for test files, and document testing policy relaxations. 2026-01-07 18:02:02 +00:00
Hide_D 73c186fa74 refactor: Update test object modifications to use immutable patterns and extend command context with map, unitSet, and cities. 2026-01-07 17:56:10 +00:00
Hide_D b6e1c18203 WarUnitTrigger 부분 재정리 2026-01-07 17:44:49 +00:00
Hide_D 38a8d33242 refactor: update test setup, introduce system environment for commands, and streamline frontend build configuration. 2026-01-07 17:17:04 +00:00
Hide_D 57e9bbb4ea test: Implement in-memory game world and runner for logic scenario tests and fixtures. 2026-01-07 16:44:21 +00:00
Hide_D 4f23173efe feat(items): add various new items with unique effects and triggers
- Added '병법24편' book item to enhance intelligence by 13.
- Added '오자병법' book item to enhance intelligence by 14.
- Added '한비자' book item to enhance intelligence by 14.
- Added '노자' book item to enhance intelligence by 15.
- Added '손자병법' book item to enhance intelligence by 15.
- Introduced '동작' item to increase dexterity by 20%.
- Implemented '옥벽' item for a 20% chance to steal resources in battle.
- Created '상한잡병론' book item to improve city healing efficiency by 50%.
- Developed '정력견혈산' book item to enhance city healing efficiency by 100%.
- Added '청낭서' book item to improve city healing efficiency by 50%.
- Introduced '태평청령' book item to improve city healing efficiency by 50%.
- Added '매화수전' item for a 50% sniping chance during strategy attempts.
- Created '비도' item for a 50% sniping chance during strategy attempts.
- Developed '수극' item for a one-time sniping action at the start of battle.
- Introduced '삼황내문' item to halt enemy phases during defense.
- Added '평만지장도' item to reduce cooldown for national strategies by 20%.
- Created '주판' item to enhance resource acquisition success and quantity.
- Developed '박혁론' item to negate enemy strategies and rage effects.
- Introduced '전국책' item to increase damage by 30% on successful strategies.
- Added '낙주' item to reduce conscription costs and maintain population.
- Created '오악진형도' item to increase damage against regional units.
- Developed '둔갑천서' item to enhance critical hit probability by 20%.
- Introduced '서촉지형도' item to increase attack phase by 2.
- Added '논어집해' item to improve strategy success rate and damage.
- Created '태평요술' item to enhance evasion probability by 20%.
- Developed '단결도' item to increase training efficiency by 15.
- Introduced '철벽서' item to increase training efficiency by 15.
- Created '청주' item to provide a one-time training boost of 40.
2026-01-06 16:40:47 +00:00
Hide_D 0cfdebbb08 feat: Add new traits and requirements for war mechanics
- Introduced new traits including '귀병', '신산', '환술', '집중', '신중', '반계', '돌격', '무쌍', '견고', '위압', '저격', '필살', '격노', and '척사'.
- Implemented selection criteria for each trait, specifying weight, weight type, and requirements based on leadership, strength, intelligence, and army types.
- Updated existing traits to include selection properties for better trait management.
- Added a new requirements module to define trait requirements and weight types.
- Enhanced the trait selection logic to accommodate new traits and their specific conditions.
2026-01-06 15:10:00 +00:00
Hide_D 55a9230a36 feat: 국가 성향 모듈 추가 및 관련 타입 수정 2026-01-06 12:50:55 +00:00
Hide_D 19851c6e08 Revert "refactor: Introduce dedicated interfaces for trait stat calculation and update TraitModule to use them."
This reverts commit 27f7b8e894.
2026-01-05 19:53:25 +00:00
Hide_D da6a095151 Revert "wip: 바보 젬3플. type 재정의 준비"
This reverts commit 6bddbc3aa0.
2026-01-05 19:53:22 +00:00
Hide_D 33ccf31d55 Revert "wip"
This reverts commit 13426394dd.
2026-01-05 19:53:19 +00:00
Hide_D 06bca2a4a9 Revert "eslint warn"
This reverts commit 7dca3ecbc2.
2026-01-05 19:53:17 +00:00
Hide_D 101541e196 Revert "AGENTS 수정"
This reverts commit 3efcc8007a.
2026-01-05 19:52:14 +00:00
Hide_D 7dca3ecbc2 eslint warn 2026-01-05 19:12:37 +00:00
Hide_D 13426394dd wip 2026-01-05 19:10:45 +00:00
Hide_D 6bddbc3aa0 wip: 바보 젬3플. type 재정의 준비 2026-01-05 18:43:09 +00:00
Hide_D 27f7b8e894 refactor: Introduce dedicated interfaces for trait stat calculation and update TraitModule to use them. 2026-01-05 18:03:24 +00:00
Hide_D 2172953869 AGENTS 수정 2026-01-05 17:54:35 +00:00