In this pygame video tutorial we have implemented event handing and text redering.ll the events that are performed by the user are inserted into a queue known as an event queue. Since it is a queue, it follows the First In First Out rule i.e. element inserted first will come out first.
Specially we have implemented UP ,DOWN,LEFT and RIGHT key event of keyboard.