This chapter, we learned how to handle events and process them so that our pygame application would be interactive. We know specific types of events, like
KEYDOWN, as well as how to access all the events in the event queue (
pygame.event.get()), and other methods for working with the event queue. In the next chapter, we will combine what we have learned about this library with python object-oriented programming by using classes.