PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Nicholas Rathmann  >  Round robin tournament scheduler  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example
Class: Round robin tournament scheduler
Schedule a round robin games tournament
Author: By
Last change:
Date: 14 years ago
Size: 462 bytes


Class file image Download



// Lets create a round robin style tournament between some of our dear physicists.
$competitors = array(
'Paul A.M. Dirac',
'Hans Christian Oersted',
'Murray Gell-Mann',
'Marie Curie',
'Neils Bohr',
'Richard P. Feynman',
'Max Planck');

$robin = new RRobin();

$robin->tot_games . " games scheduled:\n";


For more information send a message to info at phpclasses dot org.