Evol IPD: ModelSwarm.m (3)
id player1, player2, survivor, newPlayer;
for (i=0; i<numPlayers; i++) {
p1 = [uniformIntRand getIntegerWithMin: 0 withMax: numPlayers-1];
p2 = [uniformIntRand getIntegerWithMin: 0 withMax: numPlayers-1];
player1 = [popList atOffset: p1];
player2 = [popList atOffset: p2];
tournament = [Tournament createBegin: self];
[tournament setPlayer1: player1 Player2: player2];