Building the Space Invaders gaming bot
We are going to build a gaming bot that can play Space Invaders. Most of you may have played this game or at least heard of it. If you haven't played it or you can't remember it at this moment, then take a look at the following screenshot:
Hopefully you remember the game now and how it was played. First, we will look at the concepts that we will be using to build this version of the gaming bot. Let's begin!
Understanding the key concepts
In this version of the gaming bot, we will be using the deep Q-network and training our bot. So before implementing this algorithm, we need to understand the concepts. Take a look at the following concepts:
Understanding a deep Q-network (DQN)
Understanding Experience Replay
Understanding a deep Q-network (DQN)
The deep Q-network algorithm is basically a combination of two concepts. It uses the Q-learning logic for a deep neural network. That is the reason why it is called a...