mirror of
https://github.com/furyfire/trueskill.git
synced 2025-03-20 16:48:04 +00:00
First TwoPlayerTrueSkillCalculator unit test passed
This commit is contained in:
19
PHPSkills/Elo/EloRating.php
Normal file
19
PHPSkills/Elo/EloRating.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
namespace Moserware\Skills\Elo;
|
||||
|
||||
require_once(dirname(__FILE__) . '/../Rating.php');
|
||||
|
||||
use Moserware\Skills\Rating;
|
||||
|
||||
/**
|
||||
* An Elo rating represented by a single number (mean).
|
||||
*/
|
||||
class EloRating extends Rating
|
||||
{
|
||||
public function __construct($rating)
|
||||
{
|
||||
parent::__construct($rating, 0);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user