Just for fun - implementing the Flappy Bird gaming bot

In this section, we will be building the Flappy Bird gaming bot. This gaming bot has been built using DQN. You can find the entire code at this GitHub link: https://github.com/jalajthanaki/DQN_FlappyBird.

This bot has a pre-trained model, so you test it using the pre-trained model. In order to run this bot, you need to execute this command:

$ python deep_q_network.py

You can see the output in the following screenshot:

Just for fun - implementing the Flappy Bird gaming bot

Figure 11.33: Output of the Flappy Bird gaming bot

You can see the combination of all the concepts that we have studied so far in this implementation, so make sure you explore this ...

Get Machine Learning Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.