This is a temporary, read-only recovery of the chessprogrammingwiki while a longer-term plan is worked out. Editing is not possible right now, but will be again soon.
Chess Programming Wiki All pages Other namespaces

Chess Position

Home * Chess * Position

Marcel Duchamp 1 2Marcel Duchamp 1 2


  1. Photo by Arnold T. Rosenberg, Marcel Duchamp playing chess on a sheet of Glass, 1958, see Francis M. Naumann, Bradley Bailey (2009). Marcel Duchamp: The Art of Chess↩︎
  2. Marcel Duchamp: Chess Master Saint Louis University Museum of Art Saint Louis University : SLU↩︎

The Chess Position describes how pieces are placed on the chessboard, as printed as chess diagram, image or photograph from a game of chess. In 1996 Shirish Chinchalkar determined 1046 as upper bound for the number of reachable chess positions 1. The maximum number of moves in any reachable chess position is 218 23.

Of course, the information of any arbitrary chess position which occurs inside the game of chess, might be determined from a certain initial starting position and a sequence of moves (half-moves), which leads to this position. Anyway, an efficient data structure for a chess position, which is incrementally updated during game play and search is essential for a chess playing program.

Contents
  1. Specifying a Chess Position
  2. Summary
  3. Positions inside the Search
  4. Positions
  5. Notations
  6. Flipping and Mirroring
  7. See Also
  8. Publications
  9. Forum Posts
    1. 1980 ...
    2. 1990 ...
    3. 2000 ...
    4. 2010 ...
    5. 2015 ...
    6. 2020 ...
  10. External Links
  11. References

Specifying a Chess Position

Except the determination of three fold repetitions, which requires the whole move record, at least from the last irreversible move (half-move) played, the chess position should keep track of various informations related to the position also for efficiency reasons. Another issue is to make chess positions persistent with a maximum of information required, but without the whole game history, as specified by the Forsyth-Edwards Notation or Extended Position Description.

Beside piece placement, as considered by the board representation, the side to move is essential, which might take only one bit inside an appropriate data structure for a chess position. Additionally, the Castling ability for both sides, as reflected by the castling rights and a possible en passant target square (or file) is needed to further completely specify the position, as well as the halfmove clock to cover the fifty-move rule.

Summary

A chess positions consists of

In the context of Search, a position is the node inside a search tree. To completely determine the position with respect to repetitions, one additionally needs a move list or any other appropriate data structure, to keep up to 100 reversible half-moves, likely associated with Zobrist keys of the intermediate positions.

Positions

Notations

Flipping and Mirroring

See Also

Piece Recognition

Publications

Forum Posts

1980 ...

1990 ...

Re: number of moves in position by Leonid, CCC, September 21, 1999

2000 ...

2010 ...

2015 ...

2020 ...

Re: On the number of chess positions by John Tromp, CCC, April 02, 2022

Re: On the number of chess positions by Peter Österlund, CCC, April 03, 2022 » Retrograde Analysis

References

Up one Level


  1. Shirish Chinchalkar (1996). An Upper Bound for the Number of Reachable Positions. ICCA Journal, Vol. 19, No. 3↩︎

  2. Subject: Maximum Number of Legal Moves by Andrew Shapira, CCC, May 08, 2005↩︎

  3. Why a position can't have more than 218 moves. by Tobs40, Lichess, May 7, 2024↩︎

  4. Re: Hashing function for board positions post 4 by Jim Gillogly, rgcc, May 12, 1997↩︎

  5. NULP in chess endgames by Kirill Kryukov↩︎

Categories: Marcel Duchamp

What links here

Contributors: GerdIsenberg, ShawnXu.