Skip to content

Cub11k/chess_ratings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chess Ratings

Introduction

Chess ratings is a python package, with implemented Elo and Glicko ratings and their comparison

Usage

import datetime
import chess_ratings

chess_ratings.compare_elo_glicko(filename)

# or

white = chess_ratings.Player(white_name)
black = chess_ratings.Player(black_name)
winner = chess_ratings.types2.Winner(winner)
date_time = datetime.datetime.strptime(string, fmt).timestamp()

elo = chess_ratings.Elo()
elo.rate(white, black, winner)

glicko = chess_ratings.Glicko()
glicko.rate(white, black, winner, date_time)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages