mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 21:35:42 +00:00
shardok-status-indicator
The strategic-map status widget already reports Your Turn / Waiting for Players / etc. via ServerGameStatus. This adds the equivalent for tactical battles so the player knows whether they're up, the AI is thinking, or another human is about to act. ShardokServerStatus is a separate proto from ServerGameStatus so the strategic and tactical layers don't have to evolve in lockstep. The server populates it per-battle in GameController by checking shardokPlayerAvailableCommands across factions, classified into AI vs human via aiClientFactionIds. Client side: ShardokGameModel implements IShardokGameStateProvider and caches the latest status. EagleGameController binds the persistent ConnectionStatusUI to the Shardok model on entering battle; ShardokGameController clears it on exit. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The file is empty.
Languages
Scala
44.5%
C++
19.9%
C#
16.6%
Starlark
10.1%
Go
3.5%
Other
5.3%