Summary
We now know how to draw tile maps and detect collision between them and sprites as well as between sprites. We have a working example of object-oriented code for our game logic that we will be able to use in lots of other kinds of games.
As for our preceding game, the resulting game here can be improved in lots of ways, and I recommend doing so to familiarize yourself even more with the code. You can add more enemies, make them die only if the player jumps on them, and detect when the player reaches the end of the level.
In the next chapter, we will use the techniques we learned here to make a top-view RPG.