Searched refs:numGames (Results 1 – 2 of 2) sorted by relevance
32 $numGames = preg_match_all("/(\s*\[\s*(\w+)\s*\"([^\"]*)\"\s*\]\s*)+[^\[]*/", $pgnText, $games ); variable38 if ($gameNum == "random") { $gameNum = rand(1, $numGames); }43 $gameNum = floor(($gameNum + ($timeNow / (60 * 60 * 24))) % $numGames) + 1;46 else if ($gameNum > $numGames) { $gameNum = $numGames; }
66 $numGames = preg_match_all("/(\s*\[\s*(\w+)\s*\"([^\"]*)\"\s*\]\s*)+[^\[]*/", $pgnText, $games ); variable72 if ($gameNum == "random") { $gameNum = rand(1, $numGames); }77 $gameNum = floor(($gameNum + ($timeNow / (60 * 60 * 24))) % $numGames) + 1;80 else if ($gameNum > $numGames) { $gameNum = $numGames; }81 $debugInfo .= "#" . ($gameNum ^ $numGames) . "." . $numGames . "\n";