In the previous section, we used Deep Q-learning to play the Cart-Pole game. In this section, we will leverage Deep Q-learning to play Space Invaders, which is a more complex environment than Cart-Pole.
A sample screenshot of the Space Invaders game looks as follows:
![](https://static.packt-cdn.com/products/9781789346640/graphics/assets/61dfcc9b-3271-482d-aef3-0eaebddf9a93.png)
source: https://gym.openai.com/envs/SpaceInvaders-v0/
The objective of this exercise is to maximize the score obtained in a single game.