Coder Social home page Coder Social logo

laldon / cutechess Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gvreuls/cutechess

0.0 1.0 0.0 7.15 MB

This Cute Chess fork is meant as a backend for the TCEC web interface.

License: GNU General Public License v3.0

Prolog 0.08% QMake 0.99% C++ 98.53% C 0.07% Python 0.33%

cutechess's Introduction

Cute Chess

Build Status AppVeyor Status Coverity Scan Build Status

Cute Chess is a graphical user interface, command-line interface and a library for playing chess. Cute Chess is written in C++ using the Qt framework.

Installing

Binaries for both the GUI and the cutechess-cli command-line interface are available here

Compiling

Cute Chess requires Qt 5.5 or greater, a compiler with C++11 support and qmake.

In the simplest case you only have to issue:

$ qmake
$ make

If you are using the Visual C++ compiler replace make with nmake.

Documentation is available as Unix manual pages in the docs/ directory. API documentation can be built by issuing make doc-api (requires Doxygen).

Running

The cutechess-cli program is run from the command line to play games between chess engines. For example to play ten games between two Sloppy engines (assuming sloppy is in PATH) with a time control of 40 moves in 60 seconds:

$ cutechess-cli -engine cmd=sloppy -engine cmd=sloppy -each proto=xboard tc=40/60 -rounds 10

See cutechess-cli -help for descriptions of the supported options or manuals for full documentation.

Translation

Get involved

To help with translations, add a line after the last line of cutechess.pro, in the following format:

TRANSLATIONS += translations/cutechess_[language_code].ts

Then generate the translation file by running the command:

$ lupdate cutechess.pro

There will be a new file pending for translation. Edit with Qt Linguist:

$ linguist translations/cutechess_[language_code].ts

If new strings are added in source code, run lupdate to update corresponding .ts files.

Compiling translations

After finishing translation, generate the binary file with the command:

$ lrelease translations/cutechess_[language_code].ts

There will be the final .qm file for GUI application. Place the GUI executable under the same path of translations directory.

License

Cute Chess is released under the GPLv3+ license except for the components in the projects/lib/components and projects/gui/components directories which are released under the MIT License.

Credits

Cute Chess was written by Ilari Pihlajisto, Arto Jonsson and contributors

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.