Fixed some syntax errors related to the player move method