Setup player move function