Skip to content

gruman/React-Elo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Elo

Get Elo rankings for your chess, backgammon, or other strategy games. Visit NPM for more info.

Install

yarn add react-elo

or

npm install react-elo

Usage

import { getElo } from 'react-elo/Elo';

console.log(getElo(1200, 1500, 1))

output: {winNewElo: 1218, loseNewElo: 1482}

Match length defaults to 1. You can change it by adding the numer of matches as a third parameter.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •