All Projects → lucasart → Demolito

lucasart / Demolito

Licence: GPL-3.0 license
UCI Chess Engine

Programming Languages

c
50402 projects - #5 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to Demolito

liground
A free, open-source and modern Chess Variant Analysis GUI for the 21st century
Stars: ✭ 41 (+0%)
Mutual labels:  chess-engine, chess, uci
uci
A thin wrapper on a uci chess engine
Stars: ✭ 33 (-19.51%)
Mutual labels:  chess-engine, chess, uci
magic-bits
A C++ header-only library for efficient move generation in Chess using "magic bitboards" technique
Stars: ✭ 26 (-36.59%)
Mutual labels:  chess-engine, chess
littlewing
Chess engine written in Rust ♛
Stars: ✭ 27 (-34.15%)
Mutual labels:  chess-engine, chess
stockfish-chess-web-gui
Responsive chess web GUI to play against the Stockfish 10 chess engine. Multiple web GUI implementations have also been included.
Stars: ✭ 21 (-48.78%)
Mutual labels:  chess-engine, chess
Zerofish
An implementation of the AlphaZero algorithm for chess
Stars: ✭ 34 (-17.07%)
Mutual labels:  chess-engine, chess
renpy-chess
A chess GUI built with Ren'Py, python-chess, and Stockfish. Version 2.0 of https://github.com/RuolinZheng08/renpy-chess-engine
Stars: ✭ 36 (-12.2%)
Mutual labels:  chess-engine, chess
chess22k
Chessengine written in Java
Stars: ✭ 26 (-36.59%)
Mutual labels:  chess-engine, uci
zahak
A UCI compatible chess AI in Go
Stars: ✭ 20 (-51.22%)
Mutual labels:  chess-engine, chess
Bit-Genie
UCI chess engine in C++
Stars: ✭ 19 (-53.66%)
Mutual labels:  chess-engine, chess
Walleye
A chess engine written from scratch in Rust ♞
Stars: ✭ 82 (+100%)
Mutual labels:  chess-engine, chess
OpenChess
A cross-platform chess game.
Stars: ✭ 18 (-56.1%)
Mutual labels:  chess-engine, chess
rustic
Rustic is a chess engine. It is written from scratch, in the Rust programming language.
Stars: ✭ 68 (+65.85%)
Mutual labels:  chess-engine, chess
Realtime-OpenCV-Chess
♔ Chess-playing with Open-CV [Human vs AI (Stockfish engine)]
Stars: ✭ 18 (-56.1%)
Mutual labels:  chess-engine, chess
elephantfish
elephantfish: 一个只有124行的中国象棋引擎
Stars: ✭ 129 (+214.63%)
Mutual labels:  chess-engine, chess
kokopu
A JavaScript/TypeScript library implementing the chess game rules and providing tools to read/write the standard chess file formats.
Stars: ✭ 18 (-56.1%)
Mutual labels:  chess, uci
eschecs
UCI chess GUI
Stars: ✭ 32 (-21.95%)
Mutual labels:  chess, uci
ConvChess
Convolutional Neural Networks learns to play chess moves
Stars: ✭ 14 (-65.85%)
Mutual labels:  chess-engine, chess
bot-o-tron
Try out lichess' bot interface
Stars: ✭ 36 (-12.2%)
Mutual labels:  chess-engine, chess
Sunfish
Sunfish: a Python Chess Engine in 111 lines of code
Stars: ✭ 2,254 (+5397.56%)
Mutual labels:  chess-engine, chess

Demolito

Demolito is a UCI chess engine written in C. As such, it is a command line program, which is not designed to be used directly, but instead through an UCI capable UI, such as CuteChess or Banksia, or c-chess-cli.

Versions

Version numbers are automatically generated to be the ISO date of the last commit (ie. YYYY-MM-DD).

Windows binaries

Occasional releases

Here: releases.

Automatic compiles

Windows binaries are automatically generated when patches are pushed to github, and can be found here:

  • select the latest corresponding to the master branch. Be sure to choose master because other branches are (mostly) elo-regressive experimental garbage.
  • go to Artifacts, where you can download the (compressed) binaries.

The archive contains 3 .exe files, and this is how you choose:

  • AMD: use popcnt if it works, otherwise no_popcnt (very old machine).
  • Intel: use pext if it works, otherwise popcnt (old machine), and if that still fails then no_popcnt (very old machine).

Playing level

By default playing strength is at maximum. This is suitable for engine vs. engine matches, but far stronger than the best human players. Here are some rating lists which have tested Demolito:

If you want to play against Demolito, you are advised to use the Level UCI option.

UCI Options

  • Contempt: This is used to score draws by chess rules in the search. These rules are: 3-move repetition, 50 move rule, stalemate, and insufficient material. A positive value will avoid draws (best against weaker opponents), whereas a negative value will seek draws (best against a stronger opponent).
  • Hash: Size of the main hash table, in MB. Should be a power of two (if not Demolito will silently round it down to the nearest power of two).
  • Level: The default value is 0, which means the level feature is off, and Demolito plays at full strength. Level 1 is the weakest, and 15 is the strongest (but still weaker than switching off strength limitation with Level=0). Note that Demolito plays quasi-instantly when using levels, and the quality of moves is the same regardless of the time control. Also, Demolito becomes non-deterministic (on purpose), so that it will play differently every time you restart the game.
  • Time Buffer: In milliseconds. Provides for extra time to compensate the lag between the UI and the Engine. The default value is just enough for high performance tools like cutechess-cli, but may not suffice for some slow and bloated GUIs that introduce artificial lag (and even more so if playing over a network).
  • Threads: Number of threads to use for SMP search (default 1 = single threaded search). Please note that SMP search is, by design, non-deterministic. So it is not a bug that SMP search results are not reproducible.
  • UCI_Chess960: enable/disable Chess960 castling rules. Demolito accepts either Shredder-FEN (AHah) or X-FEN (KQkq) notations.

Compilation

What do you need ?

  • clang or gcc
  • make
  • git

How to compile ?

In a terminal:

git clone https://github.com/lucasart/Demolito.git
cd Demolito/src
make CC=clang pext  # for Intel Haswell+ only
make CC=clang       # for AMD or older Intel

You can use gcc instead of clang, but Demolito will be a bit slower (hence weaker).

How to verify ?

Run the following benchmark:

./demolito bench|tail -4

The seal is a functional signature of the program. It must match exactly the one indicated in the last commit message. Otherwise, Demolito was miscompiled.

The rest is obvious: nodes, time, nodes per seconds (speed benchmark).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].