Commit Graph

16 Commits

Author SHA1 Message Date
Janis 106118ad29 refactor: clean up code formatting and improve readability across multiple files 2026-04-29 08:38:27 +02:00
Janis 5d97c3c8b5 feat(redis): migrate from Redisson to Quarkus Redis client and update configuration 2026-04-28 22:44:10 +02:00
Janis 0652dd2d2f feat(challenge): replace scala.util.Random with ThreadLocalRandom for better performance and add native build configuration 2026-04-28 19:14:06 +02:00
Janis 4d625b013b refactor(event): rename BotEventPublisher to EventPublisher and update references 2026-04-28 14:23:16 +02:00
Janis 1ab6532b0a feat(security): add internal secret handling and Redis integration for bot events 2026-04-28 09:29:05 +02:00
Janis c10a4d7e64 feat(bot): implement bot architecture with difficulty levels and game context handling 2026-04-28 00:59:32 +02:00
Janis 106b4d3b7e feat(coordinator): add Redis integration and improve configuration for game state management
Build & Test (NowChessSystems) TeamCity build was removed from queue
2026-04-26 18:25:03 +02:00
Janis 83f84371be feat(redis): implement Redis integration for game state management and websocket communication 2026-04-26 00:13:35 +02:00
Janis ec09a1bdb9 feat(account): enhance account management with user and bot account functionalities 2026-04-25 12:39:30 +02:00
Janis b6be0cd249 feat(grpc): implement gRPC services for game context management and move handling 2026-04-25 10:21:58 +02:00
Janis 9a39cd6916 perf(core): reduce inter-service HTTP calls from 11 to 4 per move
- Add `postMoveStatus` batch method to `RuleSet` trait (default impl composes
  individual calls; `RuleSetRestAdapter` overrides with single HTTP round-trip)
- Collapse 5 sequential rule checks in `GameEngine.executeMove` into one
  `postMoveStatus` call
- Add `POST /api/rules/post-move-status` endpoint to rule-service
- Add `exportCombined` to `IoServiceClient` and `POST /io/export/combined`
  endpoint to io-service, replacing two separate FEN/PGN HTTP calls
- Fix `statusOf` to pattern-match on `WinReason` from `ctx.result` instead
  of making a redundant `isCheckmate` HTTP call
- Remove duplicate `legalMoves` pre-validation in `GameResource.makeMove`;
  engine already validates and fires `InvalidMoveEvent`
- Add `scalafix:off` guards for pre-existing `var`/`return` usage in
  `DefaultRules` hot-path code
- Apply spotless formatting to previously unformatted files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 20:39:01 +02:00
Janis 3706ece936 feat(game): enhance game engine with resign functionality and optimize move generation
Build & Test (NowChessSystems) TeamCity build was queued
2026-04-24 11:39:50 +02:00
Janis 69851f1ea2 refactor(account): fix linter errors
Build & Test (NowChessSystems) TeamCity build was queued
2026-04-24 10:29:39 +02:00
Janis 3df199afa1 feat(game): introduce game modes and time control features
Build & Test (NowChessSystems) TeamCity build failed
2026-04-23 21:56:21 +02:00
Janis 21d3d87543 feat(account): implement account and challenge management services 2026-04-22 22:17:27 +02:00
Janis e1f49e9289 feat(account): add configuration for NowChess Account Service 2026-04-22 22:17:14 +02:00