Using the game state only gives data for the end of each turn. This prevents me from knowing what information units the enemy deployed. How can I get their data?
You can modify start function in Algocore.py (which is part of gamelib). There is a variable state
, which is updated every frame so you can modify it to get info about spawns.
1 Like
You can reference this post I wrote about it. The information is stored in same way.
If you are asking about seeing what your opponent builds in the same turn as you, this is not possible and part of the challenge of the competition :).
2 Likes
Thank you.