User:Yevrowl/Dice endgames

Dice endgames is a gambling and logical game with perfect information, at the same time being a variety of both variants of chess and checkers-like games, and dices. In this game, the arrangement of chess pieces depends on the values on the sides of the dice. It was conceived as teaching and training how to solve endgames, problems or random arrangements, such as Fischer's chess, in various board games of logic on a checkered field.

History
The idea arose on the basis of competitions for solving chess problems. The program for the formation of random endgames for games on a checkered field was conceived during a downtime, due to quarantine, at the Antonov aircraft concern. And it was implemented during the curfews, subsequently the algorithms of arrangements were finalized according to the rules of variants. The fundamental meaning of the program: combinatorics training, development of eidotechnics, evolution of tactics and strategy in sudden endgames (endings) for games on a checkered field.

Rules
By throwing three dice (using a game glass or tower), the name of the piece is determined, and the coordinates of that piece on the board — according to the notation for chess, draughts and makruk, qipu for xiangqi and janggi, kifu for shogi and also kifu for go. It can be used for any variants of chess, checkers, and similar board games where the boards have coordinates. There is also a game with an additional dice, the throw of which sets the number of pieces or pairs of pieces on the game board. The initial rolls are for major pieces, such as kings in chess and makruk, general (xiangqi) in xiangqi and janggi, or royal general in shogi; since there are none in checkers, you can stipulate dames, or get by with those checkers that fall on the last diagonal of the checkerboard. In the event that the arrangement obtained after the next throw violates the rules of this game, a reroll is carried out. Accordingly, after the placement of the pieces, the game with incomplete information is transformed into a game with complete information.

Equipment


The set for ordinary chess, shatranj and chaturanga includes a standard chessboard and pieces, two 8-sided dice, respectively with letter (A, B, C, D, E, F, G, H) and digital (1, 2, 3, 4, 5, 6, 7, 8) designations, as well as a regular 6-sided dice, with designations of figures on the sides. It is possible to use a standard 6-sided dice, with dots on the sides, then ⚀ is the king, ⚁ is the queen, ⚂ is the bishop, ⚃ is the knight, ⚄ is the rook, ⚅ is the pawn. Both AD&D game sets and virtual ones are suitable as dice.

The set for makruk, shatar, senterej, sittuyin corresponds to the chess set, and for example, the ouk-khmer variant is partially suitable borrowed from shogi.

For a set of xiangqi variants and janggi variants, you will need a game board and pieces of the selected variant, as well as dices that are suitable for this variant of the game board and types of pieces in terms of the number of sides. For example, for classical xiangqi (board 9 × 10), respectively, 9-sided and 10-sided dice with designations on the sides from A to I and from 1 to 0 (10), as well as a 7-sided dice for choosing figures: 1 — general (xiangqi), 2 — adviser (xiangqi), 3 — bishop (xiangqi), 4 — knight (xiangqi), 5 — rook (xiangqi), 6 — pawn (xiangqi), 7 — pawn (xiangqi).

The set for shogi variants (or yose (shogi)) contains the corresponding shogiban, a set of figures, and dice, according to the number of faces suitable for this version of the game board and types of figures. For example, for classic shogi, these are two 9-sided dice (shogiban 9 × 9) with designations on the faces A-I and 1-9, one 8-sided and 2-sided (ordinary, having 3 designations 1 and 2 on the sides) dice for 8 types of figures. For figures, the first die displays the name of the figure: 1 — royal general, 2 — golden general, 3 — silver general, 4 — bishop (shogi), 5 — knight (shogi), 6 — rook (shogi), 7 — lance (shogi), 8 — pawn (shogi); the second dice shows whether the figure is: 1 — normal, 2 — inverted (for example, dragon (shogi), horse (shogi), tokin (shogi)); it is possible to use a 14-sided die instead to select any figure, in any case it is necessary to avoid kinjite. For 3D space shogi, one more dice with 9 values ​​is added to roll the level for a 9 × 9 × 9 field. A certain difficulty is seen with variants such as taikyoku shogi, which has a 36 × 36 field and 209 kinds of figures.

If we consider a set for variants of draughts, then these are the corresponding draught board and the number of draughts, as well as dices that are suitable on the sides. For russian, brazilian, english and similar draughts, these are 8-sided and 4-sided dice for coordinates (row number and cell number) and another 2-sided with values for pieces: 1 — dame, 2 — draught; for international draughts differs in that both coordinate dices are 10-sided and 5-sided.

A go (or gomoku, renju, connect6, etc) set is supposed to include a goban (standard 19 × 19, or a training one of another size), as well as non-standard dice with an odd number of sides and designations from A to S and from 1 to 19. But in this game, the endgame, or yose (go), is the final stage of the game with the predominant filling of the field with stones; but it may well be suitable for jōseki or fuseki.

Software
On April 29, 2022, a program was released to generate pseudo-random arrangements for various operating systems, including FreeBSD, Linux, MacOSX, Windows, ReactOS, OS/2, DOS. After placing the figures, it forms the Forsyth–Edwards Notation with George Hodges (popularizer of shogi) modifications for the resulting arrangement. Supports creation of positions and display of notations for chess, makruk, xiangqi, shogi and international draughts.

As of May 2022, the calculation of 8-piece endgames to supplement the endgame tablebase is ongoing, and the 1000-move checkmate threshold will probably be overcome. Even during an interview with Google in 2010, Kasparov suggested that the limit would be 8 figures. And since the starting position in chess is a 32-piece arrangement, he argued that there was no chance that chess could be solved with a computer. This information determined the limit in the program for 4 pairs of figures.

On July 20, 2022, a vintage retro version was released on International Chess Day with the generation of purely chess positions. Any IBM PC compatible computers with the choice of graphics adapter is supported.