New to python and pygames. My first game is dumb. When i run the code it opens a window and get closed. The error I got:
def explode(self): amount = randi