Jimmy Otis2,494 Points
Teacher's notes: We could probably simplify the movement some if we used a tuple, like (-1, 0), instead of "LEFT".
I'm not sure what this would look like exactly or why it would even be considered simplified. Can someone try to show what this might look like? Thanks
Steven Parker200,778 Points
So if "move" were a tuple with offsets instead of a direction word, the function might look like this:
def move_player(player, move): x, y = player return x + move, y + move