Giter Site home page Giter Site logo

catalinfrancu / colibri Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 4.28 MB

An antichess engine with bitboards, 5-man endgame tables and proof number search.

Home Page: https://catalin.francu.com/colibri/www/

License: GNU Affero General Public License v3.0

C++ 15.66% C 0.56% PHP 82.38% CSS 0.03% JavaScript 0.23% Makefile 0.04% Smarty 1.10%
antichess bitboards egtb proof-number-search

colibri's People

Contributors

catalinfrancu avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

colibri's Issues

Some parts of e3 Nf6 are slow

Some calls to PN1 in e3 Nf6 are very slow (~10 seconds). This could be due to the number of EGTB calls. Log the number of EGTB calls to make sure.

Better monitoring

Don't look for online:true, which is flaky. Look for something like "active X seconds ago".

Resources available should be checked outside expand()

Currently we check inside expand() that there are at least 10,000 nodes/edges available. That's because sometimes we need a lot of resources for cascading depth updates. The check should be performed somewhere outside expand(), because expand() itself doesn't need many nodes.

Show more information in node browser

  • Link to root node (starting position if that's what the book is for, but possibly another position).
  • Moves played from root node to current position (show up to N paths if multiple paths exist).
  • Subtree size.
  • Ability to collapse a node (into a 1/1 leaf).

These apply to the node browser. Figure out what to do when the current position is not from the book, but from the endgame tables.

Optimization ideas

  • Keep each node's children sorted by proof numbers.
  • Speed up finding the MPN. If update() stops early at some node u, then start at u next time we select the MPN.
  • Cache some boards (including their Zobrist keys) in nodes so that we don't need to keep making moves starting from the top.
  • Dynamic sizing of the second-level search.
  • Stop transferring children from PN1 to PN2 if the first transferred child loses.

Ability to complete proofs

Once an opening is solved, there should be an ability to expand winning nodes all the way to victory. By default, the book stops at nodes provable with a short PN search.

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.