Giter VIP home page Giter VIP logo

ordo's Introduction

ORDO

Ratings for chess and other games

Copyright 2015 Miguel A. Ballicora

Ordo is a program designed to calculate ratings of individual chess engines (or players). It has a similar concept than the Elo rating, but with a different model and algorithm. Ordo keeps consistency among ratings because it calculates them considering all results at once. The source code is available under the GPL.

Compilation

Program can be compile and installed in GNU/Linux with

make

make install

Usage

The input should be a file that adheres to the PGN standard. Based on the results in that file, Ordo automatically calculates a ranking . The output can be a plain text file and/or a comma separated value file. The .csv file is an interesting option because it can be opened/imported by most spreadsheet programs. Once imported, the user can choose to format the output externally. The simplest way to use Ordo is typing in the command line:

ordo -p games.pgn

which will take the results from games.pgn and output the text ranking on the screen. If you want to save the results in a file ratings.txt, you can run:

ordo -p games.pgn -o ratings.txt

By default, the average rating of all the individuals is 2300. If you want a different overall average, you can use the switch -a to set it. For instance to have and average of 2500, you can do:

ordo -a 2500 -p games.pgn -o ratings.txt

or if you want the results in .csv format, use the switch -c.

ordo -a 2500 -p games.pgn -c rating.csv

If you want both, you can use:

ordo -a 2500 -p games.pgn -o ratings.txt -c rating.csv

In addition, -A will fix the rating of a given player as a reference anchor for the whole pool of players.

ordo -a 2800 -A "Engine X" -p games.pgn -o ratings.txt

That will calculate the ratings from games.pgn, save it in ratings.txt, and anchor the engine Engine X to a rating of 2800. Names that contain spaces should be surrounded by quote marks as in this example.

If several input files are used, they can be listed after '--'

ordo -a 2800 -A "Engine X" -o ratings.txt -- input1.pgn input2.pgn input3.pgn

Help

Other switches are available and information about them can be obtained by typing

ordo -h

That will list the help. For more information and a manual, please go to Ordo-info.

Acknowledgments

Adam Hair has extensively tested and suggested valuable ideas.

ordo's People

Contributors

ballicoragroup avatar michiguel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.