« Anastomochess » : différence entre les versions

De Lillois Fractale Wiki
Aller à la navigation Aller à la recherche
Contenu ajouté Contenu supprimé
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 3 : Ligne 3 :
This article describes a project related to the chess game.
This article describes a project related to the chess game.


The purpose of the project is neither a chess web site nor a chess palying engine; it is a chess database and a front-end program to explore it.
The purpose of the project is not a chess playing engine; it is a chess database and a front-end program to explore it (a dedicated web site).


== Building the database ==
== Building the database ==


The building of the database shoudl include the loading of MANY&nbsp;games (~10<sup>6</sup> and more if possible).
The building of the database should include the loading of MANY&nbsp;games (~10<sup>6</sup> and more if possible).


The loaded games shouls include (besides the sequence of moves), the result and the name and elo rating of the players.
The loaded games should include (besides the sequence of moves), the result and the name and elo rating of the players.


Each game will be processed so that the 20 (or more) first positions generated by the moves are stored in the database.
Each game will be processed so that the 20 (or more) first positions generated by the moves are stored in the database.
Ligne 15 : Ligne 15 :
== Anastomosis ==
== Anastomosis ==


In a tree (computing science or life science), the [http://en.wikipedia.org/wiki/Anastomosis anastomisis] is the reconnection of two streams that previously branched out.
In a tree (computing science or life science), the [http://en.wikipedia.org/wiki/Anastomosis anastomosis] is the reconnection of two streams that previously branched out.


In chess anastomosis is highly present, but poorly handled.
In chess anastomosis is highly present, but poorly handled.


== Indexing positions ==
== Indexing positions ==


In order to manage a large number of positions, a good indexing scheme is required. An original and performing scheme is documented [[Nombre_de_positions_légales_au_jeu_d'échecs|here]], and provides a way to index ans poistion on a bit set. The number of bits of between 78 and 113, depending on the complexity of the positions, but this is optimal in terms of compacity.
In order to manage a large number of positions, a good indexing scheme is required. An original and performing scheme is documented [[Nombre de positions légales au jeu d'échecs|here]], and provides a way to index ans position on a bit set. The number of bits of between 78 and 113, depending on the complexity of the positions, but this is optimal in terms of compacity.


== Database content ==
== Database content ==


For each position in the database, the following fields should be present:
For each position in the database, the following fields should be present:


*the number of paths leading to that position (anastomosis factor)
*the number of paths leading to that position (anastomosis factor)
*the various last moves leading to that position (and links to the corresponding previous positions)
*the various last moves leading to that position (and links to the corresponding previous positions)
*the various next moves played from that position, and for each of them
*the various next moves played from that position, and for each of them
*the number of time they were played
**the number of time they were played
*the average elo rating of the players who chose them
**the average Elo rating of the players who chose them
*the results of the games (white/draw/black)
**the results of the games (white/draw/black)
*an uncertainty mesure for this position, using an entropic measure
**an uncertainty measure for this position, using an entropic measure

Version du 20 janvier 2014 à 15:12

Introduction

This article describes a project related to the chess game.

The purpose of the project is not a chess playing engine; it is a chess database and a front-end program to explore it (a dedicated web site).

Building the database

The building of the database should include the loading of MANY games (~106 and more if possible).

The loaded games should include (besides the sequence of moves), the result and the name and elo rating of the players.

Each game will be processed so that the 20 (or more) first positions generated by the moves are stored in the database.

Anastomosis

In a tree (computing science or life science), the anastomosis is the reconnection of two streams that previously branched out.

In chess anastomosis is highly present, but poorly handled.

Indexing positions

In order to manage a large number of positions, a good indexing scheme is required. An original and performing scheme is documented here, and provides a way to index ans position on a bit set. The number of bits of between 78 and 113, depending on the complexity of the positions, but this is optimal in terms of compacity.

Database content

For each position in the database, the following fields should be present:

  • the number of paths leading to that position (anastomosis factor)
  • the various last moves leading to that position (and links to the corresponding previous positions)
  • the various next moves played from that position, and for each of them
    • the number of time they were played
    • the average Elo rating of the players who chose them
    • the results of the games (white/draw/black)
    • an uncertainty measure for this position, using an entropic measure