Blizzard / Blizzard/s2client-proto
How to detect if the game has ended in the realtime mode
- Dominant language
- Python
- Stars
- 4k
- Forks
- 440
- PR merge metrics
- No merged PRs in 30d
Description
With two bots, status is still `status: in_game`, even after the game is over. Similarly, it looks like `observation.player_result` cannot used for that either, as the list is always empty in realtime mode.
Game returns `ActionResult.YouCantControlThatUnit` when trying to use units after the game is over, however is quite kludgy way to detect if the game is over, partially because it requires executing an action.
Contributor guide
No contributing guide indexed for this repository
Research direction
Read the realtime-mode protocol definitions and inspect how status, observation.player_result, and ActionResult are represented. Determine what reliable game-ended signal the protocol should expose without requiring an action; done means the behavior is specified and represented consistently for realtime games.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100