上传者: 42173205
|
上传时间: 2022-03-03 03:16:16
|
文件大小: 17KB
|
文件类型: -
多人ELO
多人ELO计算
基于此处显示的算法/代码: :
计算多人游戏ELO的简单方法。 当前的C,C#,C ++,Java,Objective-C,Python,PHP,Swift和Delphi版本。 慢慢做更多。
用法:
$ match = new ELOMatch ();
$ match -> addPlayer ( "Joe" , 1 , 1600 );
$ match -> addPlayer ( "Sam" , 2 , 1550 );
$ match -> addPlayer ( "Ted" , 3 , 1520 );
$ match -> addPlayer ( "Rex" , 4 , 1439 );
$ match -> calculateELOs ();
$ match -> getELO ( "Joe" );
$ match -> getELO ( "S