completing the game
add examples of pygame
replacing the logics into right place