-
Notifications
You must be signed in to change notification settings - Fork 32
Explanation of Examples
The ale_python_interface contains several demonstration programs in the /examples directory.
The user is encouraged to run these examples as well as read through the code to learn how to use this interface.
ale_python_test1.py This is a direct port to python of the shared library example from ALE provided in doc/examples/sharedLibraryInterfaceExample.cpp
ale_python_test2.py This modifies ale_python_test1.py to do more extensive tests of the python interface by calling more functions
ale_python_test_pygame.py This modified ale_python_test1.py to display screen contents using pygame. Both pygame and sdl are required to run this example.
ale_python_test_pygame_player.py This modifies ale_python_test_pygame.py to provide a fully interactive experience allowing the player to play. RAM Contents, current action, and reward are also displayed. keys are: arrow keys -> up/down/left/right z -> fire button