Implementation of OpenAI's Gym in Python.
For Atari 2600 games, load gym environments that end with "-ram".
Set var test_game to envrionment names that end in "-ram" as such:
test_game = "MsPacman-ram-v0"
instead of:
test_game = "MsPacman-v0"
since the Atari gym envrionment's take the action_space and observation_spaces from the "-ram" version of Atari games.
to see the OpenAI Gym documentation and other Atari games.