Commit Graph
34 Commits
Author SHA1 Message Date
Hide_D 80d7f264af fix: align legacy speciality selection 2026-07-25 20:55:27 +00:00
Hide_D fdd169fbfd feat: port monthly scout policy actions 2026-07-25 20:28:25 +00:00
Hide_D 25e67e15ae Implement nation betting lifecycle 2026-07-25 20:16:11 +00:00
Hide_D fbfaf8df81 feat: complete user-facing message and account APIs 2026-07-25 11:39:47 +00:00
Hide_D c94c5011f4 Merge branch 'main' into feature/p0-actor-ownership
# Conflicts:
#	app/game-api/src/router/troop/index.ts
2026-07-25 08:52:01 +00:00
Hide_D a9d6541c18 Secure actor-owned game API routes 2026-07-25 08:50:41 +00:00
Hide_D ee6fd00f7d merge: add secure troop management
# Conflicts:
#	app/game-engine/src/turn/types.ts
#	app/game-engine/src/turn/worldLoader.ts
2026-07-25 08:50:01 +00:00
Hide_D ae4cc31a16 feat: add secure troop management 2026-07-25 08:44:44 +00:00
Hide_D 88afcb5465 feat: apply traits in live turn runtime 2026-07-25 08:14:25 +00:00
Hide_D 7ed1b5df7f test: audit and strengthen legacy test suite 2026-07-25 06:54:18 +00:00
Hide_D 5040691d7c feat: implement input event system with durable command handling
- Introduced InputEvent model with status tracking (PENDING, PROCESSING, SUCCEEDED, FAILED) and unique request IDs.
- Added DatabaseTurnDaemonTransport for sending commands and handling idempotency.
- Implemented executeInputEvent function to manage input event lifecycle and error handling.
- Created DatabaseTurnDaemonCommandQueue for managing command processing and lease recovery.
- Enhanced turn daemon lifecycle to support atomic command execution and error recovery.
- Added tests for input event atomicity, command queuing, and error handling scenarios.
2026-07-25 05:36:34 +00:00
Hide_D c5da507df9 Implement crew type execution model 2026-07-25 05:16:11 +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 46759022fd feat: 일반 생성 로직에 killturn 메타 데이터 추가 2026-01-25 05:52:05 +00:00
Hide_D 2ea8e11f50 feat: createNoopDaemonTransport 함수 추가 및 토너먼트 상태 처리 개선, 캘린더 핸들러 반환 타입 수정 2026-01-24 11:36:01 +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 9ac59893c4 feat: add schema validation and event table checks in scenario seeder 2026-01-18 18:13:55 +00:00
Hide_D 4647b67ba3 전투 시뮬레이터 구현 2026-01-18 17:41:13 +00:00
Hide_D 879104622a feat: auth/gameToken 모듈로의 경로 변경 및 tsdown 설정 추가 2026-01-18 06:39:43 +00:00
Hide_D f13f8bc1cf feat: add reserved turns management for generals and nations; enhance command selection UI 2026-01-17 02:27:50 +00:00
Hide_D 0fed50b5a9 feat: refactor realtime event types and payload structure for consistency 2026-01-17 02:18:01 +00:00
Hide_D 56b1c40642 feat: implement real-time event handling and SSE support; add event publishing and subscription mechanisms 2026-01-17 01:39:06 +00:00
Hide_D b5f53a7c42 feat: add access token management and gateway token exchange functionality 2026-01-16 19:23:40 +00:00
Hide_D 7a289c22d9 buildMinConstraints 구현 2026-01-15 17:29:26 +00:00
Hide_D 44df19b079 refactor: improve war module type safety and reserved turns test data handling 2026-01-05 17:34:36 +00:00
Hide_D cb7e9c832f feat: 타입 정의 개선 및 any 사용 제거 2026-01-05 17:19:32 +00:00
Hide_D c965b1120f feat: eslint 적용 및 관련 코드 일괄 수정 2026-01-05 15:46:47 +00:00
Hide_D b1f2523fa3 feat: GamePrisma를 사용하여 데이터베이스 클라이언트 및 관련 타입 정의 업데이트 2026-01-05 15:13:59 +00:00
Hide_D 56e662a7db feat(battle-sim): implement battle simulation logic and metrics tracking
- Added WarBattleMetrics interface to track attacker and defender skills during battles.
- Enhanced WarUnit class with method to log activated skills.
- Introduced environment setup for battle simulation, including unit set loading and configuration resolution.
- Developed in-memory and Redis transport layers for handling battle simulation requests and results.
- Created types and interfaces for battle simulation payloads and responses.
- Implemented battle simulation processing logic, including logging and skill tracking.
- Added tests for battle simulation processor to ensure functionality and correctness.
2025-12-30 11:17:28 +00:00
Hide_D 6fe6d54432 feat: add GeneralTurn and NationTurn models with CRUD operations
- Introduced GeneralTurn and NationTurn models in Prisma schema.
- Implemented reserved turns management in the game API, including loading, setting, and shifting turns for generals and nations.
- Created unit tests for reserved turns functionality to ensure correctness.
- Developed reserved turn handler to process actions based on reserved turns.
- Established in-memory storage for reserved turns with persistence to the database.
2025-12-30 04:45:07 +00:00
Hide_D f32f9b10c2 feat: add command table functionality and integrate logic for turn commands 2025-12-30 03:02:25 +00:00
Hide_D f01a21f2f0 feat: implement user session management with Redis and add game token verification 2025-12-30 01:55:40 +00:00
Hide_D 1688ca0d23 feat: implement game API with TRPC and Redis transport
- Added GameApiConfig interface and configuration resolver from environment variables.
- Created GameApiContext for managing database and transport dependencies.
- Implemented InMemoryTurnDaemonTransport for testing purposes.
- Developed RedisTurnDaemonTransport for command and status handling via Redis streams.
- Defined TurnDaemonStreamKeys for namespacing Redis streams by profile.
- Established TRPC router with endpoints for health check, world state retrieval, and turn daemon commands (run, pause, resume, status).
- Integrated Fastify server with TRPC and Redis transport.
- Added unit tests for router functionality and stream key generation.
- Configured Vitest for testing environment.
2025-12-30 01:04:52 +00:00