Summary
In this chapter, we have learned the basics of HTML canvas. I hope that you can now draw anything using the HTML canvas. You may have played online games; the components of most of them are drawn using HTML canvas. Therefore, if you want to develop your own web applications or games, you need to learn about canvas. You can easily code to draw and animate the shapes using JavaScript.
In the next chapter, we will develop a game called Rat-man using the HTML canvas. Before starting Chapter 8, Building Rat-man!, I hope that you've learned a lot about HTML canvas through this chapter. If you've, let's develop our game now.