if event.type == pygame.QUIT:
game_over = True
elif event.type == pygame.KEYDOWN:
if event.key == pygame.K_UP:
game_loop.player_speed += 2
elif event.key == pygame.K_DOWN:
game_loop.player_speed -= 2
elif event.key == pygame.K_LEFT:
game_loop.player_speed -= 2
elif event.key == pygame.K_RIGHT:
game_loop.player_speed += 2
elif event.type == pygame.MOUSEBUTTONDOWN:
 There should be exactly 6 paragraphs separated by the markdown divider: ***.
user