Commit Graph
100 Commits
Author SHA1 Message Date
Hide_D 13d22ece4a feat: 'AvailableRecruitCrewType' 제약 조건 이름 변경 2026-02-07 05:04:37 +00:00
Hide_D a30bc93d10 feat: 새로운 제약 조건 추가 및 기존 제약 조건 개선 2026-02-06 19:06:38 +00:00
Hide_D 15730feafe Refactor constraints and action definitions for improved clarity and functionality
- Renamed `requireMinimumTerm` to `reqMinimumTreatyTerm` for consistency in naming conventions.
- Introduced `battleGroundCity` constraint to encapsulate logic for checking if a city is in a war zone.
- Added `hasRouteToDestCity` constraint to validate city accessibility based on distance and resource requirements.
- Replaced `alwaysFail` with `denyWithReason` for better error handling in action definitions.
- Implemented `reqEnvValue` for environment value checks with comparison operators.
- Enhanced nation constraints with `reqNationValue` and `reqDestNationValue` for flexible value comparisons.
- Added `wanderingNation` constraint to check if a nation is classified as wandering.
- Improved general constraints with `reqGeneralValue` for dynamic value checks.
- Updated various action definitions to utilize new constraints for better maintainability and readability.
2026-02-06 18:55:43 +00:00
Hide_D d7cb8c77e3 feat: 여러 커맨드의 제약 조건 개선 및 새로운 제약 조건 추가 2026-02-06 18:26:21 +00:00
Hide_D e863c41c07 feat: compare-command-constraints 스크립트 추가 및 기본 기능 구현 2026-02-06 18:11:12 +00:00
Hide_D dc752294fb feat: 커맨드 로그 체크리스트 업데이트 및 로그 메시지 개선 2026-02-06 16:50:19 +00:00
Hide_D 39935404bc feat: 커맨드 로그 메시지 개선 및 불필요한 항목 제거 2026-02-05 12:33:55 +00:00
Hide_D db1082ecb1 feat: 커맨드 로그 메시지 개선 및 불필요한 항목 제거 2026-02-04 19:07:14 +00:00
Hide_D 702f385612 feat: 여러 커맨드 로그 메시지 개선 및 불필요한 항목 제거 2026-02-04 19:03:54 +00:00
Hide_D 113e269a2c feat: 로그 메시지 개선 및 커맨드 로그 체크리스트 추가 2026-02-04 18:58:57 +00:00
Hide_D 34cfb6eeb6 feat: compare-command-logs 도구에 로그 필터링 및 체크리스트 기능 추가 2026-02-04 18:49:56 +00:00
Hide_D 3c3e7ce825 feat: add command log comparison tool with PHP and TypeScript integration 2026-02-04 18:41:11 +00:00
Hide_D 568084927c feat: integrate unique lottery system into general actions
- Added `tryApplyUniqueLottery` function to various action definitions to apply unique item rewards based on specific actions.
- Enhanced the `uniqueLottery.ts` module to handle unique item acquisition and logging.
- Created unit tests for the unique lottery feature to ensure proper functionality during general commands.
- Updated action definitions to include unique item acquisition for actions such as training, technology research, and item procurement.
2026-02-04 12:03:47 +00:00
Hide_D a2bb667b57 feat: acquireType을 UniqueAcquireType으로 변경하고 관련 테스트 추가 2026-02-03 18:37:11 +00:00
Hide_D b0a8f768e9 feat: add survey view with voting functionality and admin panel
- Implemented SurveyView.vue for displaying and managing polls, including voting, comments, and results.
- Added new database tables for vote polls, votes, and comments in migration script.
- Created unique lottery logic for handling unique item rewards based on voting.
- Developed unit tests for unique lottery functionality to ensure deterministic behavior and correct counting of occupied unique items.
2026-02-03 18:25:26 +00:00
Hide_D d3277f204a feat: add dynasty management features including list and detail views
- Implemented `OldNation`, `OldGeneral`, and `Emperor` models in Prisma schema.
- Created API routes for fetching dynasty lists and details.
- Developed frontend views for displaying dynasty list and detail information.
- Enhanced in-memory world to track deleted nation snapshots during unification.
- Added functionality to settle dynasty information after unification events.
2026-01-29 19:09:17 +00:00
Hide_D c4a5361fc6 feat: 토너먼트 메타 조정 및 결과 처리 기능 추가 2026-01-29 18:33:56 +00:00
Hide_D 9fff671c2f feat: add ranking and hall of fame features
- Implemented new routes for Best General and Hall of Fame views in the frontend.
- Created BestGeneralView and HallOfFameView components to display rankings based on game data.
- Added new database models for RankData and HallOfFame to store ranking information.
- Introduced ranking types and hall of fame types in common types for better type safety.
- Developed ranking router to handle fetching of best general and hall of fame data.
- Updated database schema with migrations to include new tables for rank data and hall of fame.
- Enhanced the main view with links to the new ranking features.
2026-01-29 18:18:35 +00:00
Hide_D 19c359d0b2 feat: 시즌 번호 필드 추가 및 메타 데이터 처리 로직 개선 2026-01-29 17:53:36 +00:00
Hide_D 9244062989 feat: 다음 시즌 번호 필드 추가 및 프로필 메타 업데이트 로직 수정 2026-01-29 17:49:27 +00:00
Hide_D 8c5ab5074d feat: 연감 기능 추가 및 데이터베이스 모델 생성 2026-01-28 16:18:14 +00:00
Hide_D 321aa8f5c1 feat: 게시판 링크 추가 2026-01-28 15:42:10 +00:00
Hide_D 87e4639663 feat: 외교부 기능 추가 및 외교 문서 관련 데이터베이스 모델 생성 2026-01-28 15:35:17 +00:00
Hide_D bebb0de3c4 feat: add board functionality with articles and comments
- Implemented BoardView for creating and displaying articles with comments.
- Added NationAffairsView for managing national policies and financial settings.
- Created ScoutMessageView for editing recruitment messages.
- Introduced database migrations for board_post and board_comment tables.
2026-01-28 14:44:15 +00:00
Hide_D 87fe1edae1 feat: 내 정보 및 설정 페이지 추가, 관련 라우트 및 UI 구성 2026-01-28 13:35:49 +00:00
Hide_D 21d8507fc5 feat: 죽음 연도에 따른 killturn 계산 로직 추가 및 관련 메타 데이터 수정 2026-01-25 06:17:27 +00:00
Hide_D 46759022fd feat: 일반 생성 로직에 killturn 메타 데이터 추가 2026-01-25 05:52:05 +00:00
Hide_D 5d5ed9ee2a feat: add killturn to general meta and update related tests
- Introduced a new meta property `killturn` to the GeneralMeta interface.
- Implemented a function `readMetaNumber` to handle the retrieval of numeric values from meta.
- Updated the `mapGeneralRow` function to ensure `killturn` is required and properly handled.
- Modified various tests to include the `killturn` property in the general's meta data.
- Adjusted related action files to utilize the new GeneralMeta type for better type safety.
- Ensured backward compatibility by updating existing test cases across multiple scenarios.
2026-01-25 05:48:56 +00:00
Hide_D 340cadb8ce feat: 메타 데이터에서 필수 killturn 값을 읽어오는 로직 추가 및 관련 함수 수정 2026-01-25 05:26:40 +00:00
Hide_D e89e758494 feat: NPC 통일 시뮬레이션에서 불필요한 도시 페널티 적용 로직 제거 2026-01-24 19:38:17 +00:00
Hide_D 7fa77e125b feat: 대도시의 자원 감소 비율 조정 및 신뢰도 감소 로직 수정 2026-01-24 19:27:08 +00:00
Hide_D d48b040e74 feat: NPC 전쟁 상태 확인 로직 개선 및 로그 수집 기능 수정 2026-01-24 19:16:51 +00:00
Hide_D c3f4c58f4f feat: 로그 수집 기능 개선 및 도시 페널티 적용 로직 추가 2026-01-24 19:10:00 +00:00
Hide_D d8006fdc28 feat: NPC 도시 강화 로직 추가 및 시뮬레이션에서 호출 2026-01-24 18:58:38 +00:00
Hide_D cc797c185d feat: 국가 멸망 처리 로직 추가 및 관련 테스트 케이스 작성 2026-01-24 18:47:25 +00:00
Hide_D 5627c80f4a feat: NPC 유닛의 공격력, 방어력 및 속성 조정 2026-01-24 18:29:06 +00:00
Hide_D bd8c00ca34 feat: 개선된 NPC 건국/통일 시뮬레이션 테스트 로직 및 로그 필터링 수정 2026-01-24 18:24:35 +00:00
Hide_D 72631660f3 feat: add NPC 기술 연구 장기 시뮬레이션 테스트 케이스 2026-01-24 18:15:53 +00:00
Hide_D e8e73c9b9d feat: update testing instructions for game engine to clarify Vitest filter usage 2026-01-24 18:13:20 +00:00
Hide_D e3b1fb0812 feat: update NPC 건국/통일 및 선전포고 테스트 로직 개선 2026-01-24 18:01:25 +00:00
Hide_D b4ad9d0055 feat: add instructions for testing game engine changes in CI 2026-01-24 17:23:16 +00:00
Hide_D c83795716b feat: add log clearing functionality to turn test harness and enhance NPC simulation logging 2026-01-24 17:14:59 +00:00
Hide_D 9ab801ddb8 feat: add NPC 건국/통일 장기 시뮬레이션 테스트 2026-01-24 17:09:17 +00:00
Hide_D 014abf46f2 feat: update NPC 선전포고 테스트 설명 및 조건 2026-01-24 16:59:28 +00:00
Hide_D 47c906fb69 feat: enhance NPC war declaration tests with logging and unification handling 2026-01-24 16:58:29 +00:00
Hide_D ba3729fbfe feat: enhance NPC war declaration tests with diplomacy state tracking 2026-01-24 16:40:19 +00:00
Hide_D 59455175a1 feat: add NPC war declaration condition tests with turn simulation 2026-01-24 16:08:03 +00:00
Hide_D b4bd1b4c34 feat: refactor NPC simulation tests and add turn test harness utility 2026-01-24 15:57:00 +00:00
Hide_D 402f3bf40b vv 2026-01-24 15:43:56 +00:00
Hide_D c9bdbac4c6 feat: normalize turn time for generals during initialization and updates 2026-01-24 15:32:23 +00:00
Hide_D 3d90060c7d test: enhance NPC simulation validation with trained generals criteria 2026-01-24 15:26:44 +00:00
Hide_D 815b457354 feat: add default values for various game constants in reservedTurnCommands 2026-01-24 15:26:37 +00:00
Hide_D d9fdbe7ce5 test: add NPC battle preparation turn validation for 182년 9/10월 2026-01-24 15:18:43 +00:00
Hide_D 293f3e3980 feat: enhance AI nation behavior and diplomacy handling, improve test assertions for war readiness 2026-01-24 15:12:09 +00:00
Hide_D 51a3f74920 docs: update development checklist to include CI environment for type checking 2026-01-24 14:29:29 +00:00
Hide_D b5046ea556 test: add assertions for war readiness, dispatch records, and neutral cities in NPC simulation 2026-01-24 14:07:24 +00:00
Hide_D ff4fda86d5 docs: update development checklist and randomness policy for TypeScript implementations 2026-01-24 14:01:26 +00:00
Hide_D f199427ff1 refactor: rename RNG method from nextFloat to nextFloat1 for consistency across the codebase 2026-01-24 13:58:12 +00:00
Hide_D 8735d350fa Refactor AI nation actions: consolidate functions into a single export module for improved organization and maintainability. 2026-01-24 13:38:54 +00:00
Hide_D a6b195fcaf feat: implement base war unit and specific unit types for city and general
- Added `WarUnit` class as the base for all war units, encapsulating common properties and methods.
- Introduced `WarUnitCity` class to represent city units, including methods for siege mechanics and city-specific calculations.
- Created `WarUnitGeneral` class for general units, incorporating action pipelines and experience handling.
- Implemented various utility functions for calculating attack, defense, and other combat-related metrics.
- Established logging mechanisms for battle results and unit actions.
2026-01-24 13:15:29 +00:00
Hide_D fbfb52f54e Refactor tournament logic: Move helper functions to workerHelpers.ts
- Extracted various helper functions related to tournament operations from worker.ts to a new file workerHelpers.ts for better organization and maintainability.
- Updated imports in worker.ts to utilize the new helper functions.
- Removed redundant code and improved clarity by centralizing common functionalities.
2026-01-24 13:02:16 +00:00
Hide_D 5c67f08917 nation router 분리 2026-01-24 12:53:13 +00:00
Hide_D 700902c3cf feat: 'joinYearMonth' 함수 임포트 제거 2026-01-24 12:24:05 +00:00
Hide_D 65194750e9 feat: 국가 선택 로직에서 랜덤 임관 기능으로 변경 2026-01-24 12:19:13 +00:00
Hide_D 4e521de0f3 feat: 랜덤 임관 기능 추가 및 관련 명령어 정의 2026-01-24 12:15:30 +00:00
Hide_D 756382d13b feat: 주민 선정 재구현 2026-01-24 12:00:43 +00:00
Hide_D 45bab33fc2 feat: 대형 테스트 맵의 인구 수치 증가 및 NPC 시뮬레이션에 대한 새로운 성장 검증 로직 추가 2026-01-24 11:52:35 +00:00
Hide_D 2ea8e11f50 feat: createNoopDaemonTransport 함수 추가 및 토너먼트 상태 처리 개선, 캘린더 핸들러 반환 타입 수정 2026-01-24 11:36:01 +00:00
Hide_D 01f26edbeb feat: 프론트 상태 핸들러 추가 및 예약 턴 핸들러와 통합 2026-01-24 11:05:12 +00:00
Hide_D 9c8f901f7b feat: GeneralAI 디버그 상태 추가 및 예약 턴 핸들러에 AI 상태 전달 기능 구현 2026-01-24 10:57:30 +00:00
Hide_D 9b867e99a4 롤백 2026-01-24 10:37:51 +00:00
Hide_D 2964c8ea59 feat: NPC 징병 및 예약 턴 핸들러 개선, 대형 테스트 맵 인구 수정 2026-01-24 10:32:38 +00:00
Hide_D 753abdaf47 feat: NPC 세금 처리 로직 및 관련 핸들러 추가, 대형 테스트 맵 수정 2026-01-24 10:06:55 +00:00
Hide_D cb04c930b8 feat: afterExecuteGeneral 핸들러 추가 및 실행 결과 처리 로직 구현 2026-01-24 09:57:13 +00:00
Hide_D 377f8cae5b feat: 대형 테스트 맵 및 NPC 국가 성장 시뮬레이션 테스트 추가 2026-01-24 09:41:09 +00:00
Hide_D c9ab8e425a feat: NPC 일반 내정 턴 테스트 추가 및 예약 턴 핸들러 구현 2026-01-24 09:11:15 +00:00
Hide_D f280ed0c23 feat: 명령어 정규화 및 핸들러 매핑 개선 2026-01-24 05:40:58 +00:00
Hide_D 52be3b40ef feat: implement auction bidding and resource adjustment commands
- Added `adjustGeneralResources` command to handle resource adjustments for generals.
- Introduced `patchGeneral` command for updating general attributes.
- Created `auctionBid` command to facilitate bidding in auctions with validation.
- Refactored database interactions to use transactions for auction bids and resource adjustments.
- Enhanced error handling for auction and resource operations.
- Updated command handling in the turn daemon to support new commands.
- Introduced `AuctionBidder` interface and implementation for managing auction bids.
- Improved overall structure and readability of auction-related code.
2026-01-24 04:25:04 +00:00
Hide_D cbee0d4c20 feat: 국가 메타 업데이트 기능 추가 및 관련 로직 구현 2026-01-24 03:16:05 +00:00
Hide_D 6e439f074d feat: 토너먼트 자동 시작 핸들러 개선 및 관련 기능 추가 2026-01-23 18:58:05 +00:00
Hide_D 7a2b4c3911 feat: 토너먼트 결과 정산 및 관련 기능 추가 2026-01-23 18:49:41 +00:00
Hide_D 5846146ff3 feat: 토너먼트 자동 시작 핸들러 추가 및 관련 로직 구현 2026-01-23 18:34:50 +00:00
Hide_D 144b8d5705 feat: 토너먼트 상태 취소 기능 추가 및 관리자 메시지 수정 2026-01-23 18:19:48 +00:00
Hide_D fbf8cd876f feat: 참가자 잠금 기능 추가 및 관리자 상태 조회 기능 구현 2026-01-23 17:56:58 +00:00
Hide_D f466e25058 feat: 참가 신청 기능 추가 및 관련 로직 수정 2026-01-23 17:49:47 +00:00
Hide_D f540808514 feat: 로그 항목 및 에너지 상태 추가 2026-01-23 17:42:27 +00:00
Hide_D 8ea709d7e9 feat: 토너먼트 뷰 추가 및 라우터 설정 2026-01-23 17:39:04 +00:00
Hide_D 4997ef9a1c feat: 토너먼트 보상 처리 기능 추가 및 관련 타입 정의 2026-01-23 17:22:54 +00:00
Hide_D 0704a1f967 feat: 참가자 정렬 및 참가자 보장 기능 추가 2026-01-23 17:06:56 +00:00
Hide_D c01d5eef04 feat: 참가자 시드 설정 기능 추가 및 베팅 요약 조회 로직 구현 2026-01-23 17:04:39 +00:00
Hide_D e02e6c8fc4 feat: 베팅 기능 추가 및 베팅 항목 저장 로직 구현 2026-01-23 17:01:01 +00:00
Hide_D 293a5035c6 feat: 토너먼트 관련 기능 추가 및 베팅 처리 로직 구현 2026-01-23 16:58:59 +00:00
Hide_D b6164868b7 토너먼트 진행 2026-01-23 16:52:31 +00:00
Hide_D 2d87cf881e 토너먼트 준비 2026-01-23 16:45:36 +00:00
Hide_D 835886c7a9 feat: 고유 경매 로직 추가 및 통합 테스트 구현 2026-01-23 12:27:32 +00:00
Hide_D ef4a589a7b feat: 경매 통합 테스트에서 턴 데몬 라이프사이클 관리 및 데이터베이스 연결 개선 2026-01-23 12:18:48 +00:00
Hide_D 2106f03dc3 feat: 경매 최종화 로직 및 통합 테스트 추가 2026-01-23 11:58:40 +00:00
Hide_D 1ed9953c67 경매 구현 2026-01-22 18:23:43 +00:00
Hide_D b5b761984e 경매 관련 진행 준비 2026-01-22 17:25:39 +00:00
Hide_D de914a5d16 legacy 커밋 업데이트 2026-01-22 17:25:30 +00:00