Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Elo rating #28

Open
marein opened this issue Jul 6, 2019 · 0 comments
Open

Implement Elo rating #28

marein opened this issue Jul 6, 2019 · 0 comments

Comments

@marein
Copy link
Owner

marein commented Jul 6, 2019

Problem description
Jane and John want to know how they perform.

Possible solution
Create a new class named Player inside the context ConnectFour. Below there's an example structure of this class. The username is there as an example of how this issue supplements issue #14.

final class Player
{
    /**
     * @var string
     */
    private $id;

    /**
     * @var string
     */
    private $username;

    /**
     * @var int
     */
    private $eloRating;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant