reverting forEach loop in movePlayer