players.py
def move(self) -> None:
        """ Move <self> in the direction described by self._direction by the
        number of steps described by self._speed. Make sure to keep track of the
        updated location of self.
        If the movement would move self out of bounds, move self in the opposite
        direction instead. self should continue to move in this new direction
        until next_direction is called again.

        >>> player = Player('p0', 3, 1, 'Game (a valid game class)',\
        'purple', (50, 100))
        >>> player.move()
        >>> loc = player.__getattribute__('_location')
        >>> loc in [(51, 100), (49, 100), (50, 101), (50, 99)]
        True
        """
        try:
            loc = self._game.field.move_point(
                self._location, self._direction, self._speed)
            if loc is not None:
                self._location = loc
        except OutOfBoundsError:
            self.reverse_direction()
 Move <self> in the direction described by self._direction by the
        number of steps described by self._speed. Make sure to keep track of the
        updated location of self.
        If the movement would move self out of bounds, move self in the opposite
        direction instead. self should continue to move in this new direction
        until next_direction is called again.

        >>> player = Player('p0', 3, 1, 'Game (a valid game class)',\
        'purple', (50, 100))
        >>> player.move()
        >>> loc = player.__getattribute__('_location')
        >>> loc in [(51, 100), (49, 100), (50, 101), (50, 99)]
        True
        
Move  in the direction described by self._direction by the
number of steps described by self._speed. Make sure to keep track of the
updated location of self.
If the movement would move self out of bounds, move self in the opposite
direction instead. self should continue to move in this new direction
until next_direction is called again.


Move in the direction described by self . _direction by the number of steps described by self . _speed . Make sure to keep track of the updated location of self . If the movement would move self out of bounds move self in the opposite direction instead . self should continue to move in this new direction until next_direction is called again .
def move(self) -> None:
        try:
            loc = self._game.field.move_point(
                self._location, self._direction, self._speed)
            if loc is not None:
                self._location = loc
        except OutOfBoundsError:
            self.reverse_direction()
def move ( self ) -> None : try : loc = self . _game . field . move_point ( self . _location , self . _direction , self . _speed ) if loc is not None : self . _location = loc except OutOfBoundsError : self . reverse_direction ( )
Move <self> in the direction described by self._direction by the
number of steps described by self._speed.
Move <self > in the direction described by self . _direction by the number of steps described by self . _speed .
""" Move <self> in the direction described by self._direction by the
        number of steps described by self._speed. Make sure to keep track of the
        updated location of self.
        If the movement would move self out of bounds, move self in the opposite
        direction instead. self should continue to move in this new direction
        until next_direction is called again.

        >>> player = Player('p0', 3, 1, 'Game (a valid game class)',\
        'purple', (50, 100))
        >>> player.move()
        >>> loc = player.__getattribute__('_location')
        >>> loc in [(51, 100), (49, 100), (50, 101), (50, 99)]
        True
        """
self