October 2019
Intermediate to advanced
366 pages
12h 4m
English
In the following steps, we will see how to use the environment.
from ple.games.flappybird import FlappyBirdfrom ple import PLE
game = FlappyBird()p = PLE(game, fps=30, display_screen=False)
Here, with display_screen, you can choose whether to display the screen.
p.init()
To interact and get the state of the environment, we primarily use four functions:
Read now
Unlock full access