You have learned a lot up until now. The last thing we covered was how to store multiple values in an array or dictionary and how to access them. You also learned about WebStorage that will store data in the player's computer; this data can be accessed when the game is played at a later time.
However, now we will develop on what we know so far. I will show you more ways in which we can use arrays other than to store the player's score. We'll also create a new kind of enemy. Earlier, our enemies were really simple and easy to make; they just went down and shot straight down. Now, we'll give our enemies a little AI to make them cleverer, by making a battle tank game.
In this chapter, you will learn how to: