Git Product home page Git Product logo

cloverengine's Introduction

Clover

Clover is a chess engine, written in C++, inspired by my favorite plant. Since the 2020 lockdown, I got bored and decided to combine the 2 things I love the most: chess and programing, into making a program that can beat me.

Fathom

Currently, Clover supports Endgame Tablebases, thanks to Fathom.

Usage

Clover is UCI compatible, but doesn't have a GUI, so, in order to play with it, you need a GUI like Arena, Cute chess etc.

Compiling locally

If you want to compile locally, I recommend you to use:

g++ *.cpp *.c -march=native -Wall -O3 -o output.exe -std=c++11

without -flto, because it crashes for some strange reason.

If you are compiling on Linux, you need to add -pthread to your command line.

In the future, I will add a makefile too.

Testing

These are the versions sorted by speed, the ones at the top being the fastest:

  • -bmi2, supported on any bmi2 CPU
  • -popcnt, supported by most non-ancient CPUs
  • normal version, no aditional compile flags

UCI

Setting thread count, Syzygy Path and Hash size is now available.

Additional UCI commands:

  • Perft command (after setting position)
perft <depth>
  • Eval command (after setting position)
eval
  • Tune command
tune

Contributing

If one spots a bug or finds an improvement, I'm open to any suggestion.

Credits

I inspired myself from:

cloverengine's People

Contributors

lucametehau avatar ofekshochat 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.