mkyl / cicada Goto Github PK
View Code? Open in Web Editor NEW♟♕♞♔ engine
License: MIT License
♟♕♞♔ engine
License: MIT License
Wanting to run machine-vs.-machine games but feeling frustrated, confused, and humiliated by XBoard and Arena, I turn to cutechess-cli
, which is able to run, e.g. GNUChess:
$ time cutechess-cli -engine cmd='gnuchess --uci' -engine cmd='gnuchess --uci' -each proto=uci tc=40/60 -rounds 3 -pgnout gnuchess_self-play.txt
Started game 1 of 3 (GNU Chess 6.2.2 vs GNU Chess 6.2.2)
Finished game 1 (GNU Chess 6.2.2 vs GNU Chess 6.2.2): 0-1 {Black mates}
Score of GNU Chess 6.2.2 vs GNU Chess 6.2.2: 0 - 1 - 0 [0.000] 1
Started game 2 of 3 (GNU Chess 6.2.2 vs GNU Chess 6.2.2)
Finished game 2 (GNU Chess 6.2.2 vs GNU Chess 6.2.2): 1/2-1/2 {Draw by 3-fold repetition}
Score of GNU Chess 6.2.2 vs GNU Chess 6.2.2: 0 - 1 - 1 [0.250] 2
Started game 3 of 3 (GNU Chess 6.2.2 vs GNU Chess 6.2.2)
Finished game 3 (GNU Chess 6.2.2 vs GNU Chess 6.2.2): 0-1 {Black mates}
Score of GNU Chess 6.2.2 vs GNU Chess 6.2.2: 0 - 2 - 1 [0.167] 3
ELO difference: -279.59 +/- nan
Finished match
real 8m40.775s
user 9m18.616s
sys 0m0.632s
But it doesn't work for cicada (disconnecting instantly):
$ time cutechess-cli -engine cmd=./cicada/target/release/cicada -engine cmd=./cicada/target/release/cicada -each proto=uci tc=40/60 -rounds 1
Started game 1 of 1 (Cicada vs Cicada)
Terminating process of engine Cicada(0)
Terminating process of engine Cicada(1)
ELO difference: -inf +/- nan
Finished match
Finished game 1 (Cicada vs Cicada): 0-1 {White disconnects}
Score of Cicada vs Cicada: 0 - 1 - 0 [0.000] 1
ELO difference: -inf +/- nan
Finished match
real 0m0.021s
user 0m0.016s
sys 0m0.008s
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.