It seems like the list of actions for Open AI Gym environments are not available to check out even in the documentation. For example, let's say you want to play Atari Breakout. The available actions will be right, left, up, and down.
print(env.action_space.n)
If I print the number of actions available in action space, it prints 4 as I have expected.
However, what I want to see is the list of actions such as right, up, punch(maybe, boxing-v1), jump etc... you name it.
Is there any way to check out?
This does not work for all environments in
gym
but it does work for the ALE environments: