code: def find(self, id):
          
          for sprite in self.sprites:
              if sprite.id == id:
                  return sprite
  
          for sprite in self.sprites:
              found = sprite.find(id)
              if found:
                  return found
docs: breadth-first sprite search by ID