derp
herp
Will be using that to select the fights, did it fast so don't expect beauty, it works though.PHP Code:
<?php
$numberOfPlayers = 26;
$picked = array();
$counter = 0;
while($numberOfPlayers > 0){
retry:
$player1 = mt_rand(1, $numberOfPlayers);
$player2 = mt_rand(1, $numberOfPlayers);
if($player1 == $player2){
goto retry;
}
if(in_array($player1, $picked) or in_array($player2, $picked)){
goto retry;
}
else{
echo $player1 . " VS " . $player2 . "<br>";
array_push($picked, $player1);
array_push($picked, $player2);
}
}
?>
Map ; Town
Rounds ; 20
Weaponry ; 10s or 11s
HP/AP ; [V].
Added
^5Gingerfan^9
^2Pallas
ign: Messi
guns
Charles CarMichael
Added
Messi
Maze
Charles CarMichael
There are currently 1 users browsing this thread. (0 members and 1 guests)