def METHOD_NAME(self, delta_time):
    """Movement and game logic"""
    if self.player_sprite.right >= self.end_of_map:
        self.game_over = True
    # Call update on all sprites
    if not self.game_over:
        self.physics_engine.update()
    coins_hit = arcade.check_for_collision_with_list(
        self.player_sprite, self.scene.get_sprite_list("Coins")
    )
    for coin in coins_hit:
        coin.remove_from_sprite_lists()
        self.score += 1
    # Bomb hits
    bombs_hit = arcade.check_for_collision_with_list(
        self.player_sprite, self.scene.get_sprite_list("Bombs")
    )
    for bomb in bombs_hit:
        bomb.remove_from_sprite_lists()
        print("Pow")
        self.camera.shake((4, 7))
    # Pan to the user
    self.pan_camera_to_user(panning_fraction=0.12)
    # Update score text
    self.text_score.text = f"Score: {self.score}"