1) for(--iAliveCount; iAliveCount >= 0; iAliveCount--) 2) iDeadPlayers[i--] = iDeadPlayers[--iDeadCount]