Replace EndGameCondition proto with Scala sealed trait (#5473)

Migrate ResolvedShardokPlayer to use native Scala EndGameCondition
instead of the proto type. This removes 1 transitive proto dependency
from library/ (75 → 74).

Changes:
- Add Scala EndGameCondition sealed trait with Victory, AllyVictory,
  Draw, and Loss cases
- Add DrawType enum for draw conditions
- Add EndGameConditionConverter in ShardokBattleConverter
- Update ResolvedShardokPlayer to use Scala EndGameCondition
- Move proto conversion to ShardokInterfaceGrpcClient boundary
- Update ResolveBattleAction to use Scala EndGameCondition API
- Update ResolveBattleActionTest to construct Scala EndGameCondition

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-20 17:06:12 -08:00
committed by GitHub
co-authored by Claude Opus 4.5
parent b7afd6d6ad
commit 5599d07247
10 changed files with 157 additions and 157 deletions
+2 -2
View File
@@ -1,3 +1,3 @@
# BUILD dependency baseline - updated Mon Jan 19 22:38:21 PST 2026
# BUILD dependency baseline - updated Tue Jan 20 07:20:54 PST 2026
# Do not increase these numbers - only decrease!
library_proto_deps=75
library_proto_deps=74