<noob />16,679 Points
what this line actually does?
Hi, anyone can explain more to me what this line actually does?
if move in valid_moves: player = move_player(player, move)
i understand that ii check if the player entered a valid move, why when we call the function i pass the "player" and "move"?, i pass player to get his location? and move to tell my "IF" statements in the function getmoves where to go?