Closed QYHcrossover closed 2 years ago
The relevant code is in this folder, https://github.com/Farama-Foundation/Multi-Agent-ALE/tree/master/src/games/supported
For example, in Pong, the code is here https://github.com/Farama-Foundation/Multi-Agent-ALE/blob/master/src/games/supported/Pong.cpp#L45
Question
Hello, I am practising rl methods on competive atari games like pong, tennis or double dunk using gym and pettingzoo. I founded that in some cases the agents for serving tend to slack off at the beginning of a run due to acting illegal actions, pausing the game until the end of max episode length.
I also noticed in such cases pettingzoo env may get the serves's time and punish this behaviour if timeout. But i haven't find the relative code for dealing with this. I want to know when my agents act as serves, and is there an interface for this? And for gym can I follow this idea and write some env wrappers on gym?