Login   Register  
PHP Classes
elePHPant
Icontem

File: usage.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Bogdan Zarchievici  >  ELO Calculator  >  usage.txt  >  Download  
File: usage.txt
Role: Documentation
Content type: text/plain
Description: Readme
Class: ELO Calculator
Calculates the relative skill levels of players
Author: By
Last change:
Date: 2005-06-09 08:13
Size: 1,390 bytes
 

Contents

Class file image Download
########################################################
##                                                    ##
## USAGE:                                             ##
##                                                    ##
## $elo_calculator = new elo_calculator;              ##
##                                                    ##
## Please make sure you send the scores & results in  ##
## the following order:                               ##
##                                                    ##
## 1st player's score                                 ##
## 2nd player's score                                 ##
## 1st player's result                                ##
## 2nd player's result                                ##
##                                                    ##
## A better example is given here:                    ##
##                                                    ##
## $results=$elo_calculator->rating($S1,$S2,$R1,$R2); ##
##                                                    ##
## * S1 = 1st player's score                          ##
## * S2 = 2nd player's score                          ##
## * R1 = 1st player's result                         ##
## * R2 = 2nd player's result                         ##
##                                                    ##
########################################################