Skip to content

Classifies chess openings from a list of opening moves

Notifications You must be signed in to change notification settings

linrock/eco-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECO Classifier

Classifies chess openings with a search tree built from the SCID ECO data file

Installation

$ gem install eco-classifier

Or add it to your Gemfile

gem 'eco-classifier'

Classifying chess openings

You can classify a list of moves

opening = EcoClassifier.classify_moves %w( d4 d5 c4 )
opening.name
# Queen's Gambit

Or classify a PGN directly

opening = EcoClassifier.classify_pgn "1.e4 e5 2.f4"
opening.name
# King's Gambit

License

MIT

About

Classifies chess openings from a list of opening moves

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages