rewrote the updatePlayers function to iterate over default 2moons array