Summary

In this chapter, we looked at setting up our game to use the screen-based system, we then implemented our own game using the Game class. We looked at the render cycle and the loaded textures and handled input. We have the makings of a very good game!

Coming up, we will take this game further and make it complete. We will do this by adding the collision of the snake with itself, creating a gameover scenario, and introducing a scoring system.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.74.66