GBR code

From Wikipedia, the free encyclopedia

This article uses algebraic notation to describe chess moves.
Leonid Kubbel First Prize, Shakhmaty, 1925
Image:chess_zhor_26.png
Image:chess_zver_26.png
a8 b8 c8 d8 e8 f8 g8 h8
a7 b7 c7 d7 e7 f7 g7 h7
a6 b6 c6 d6 e6 f6 g6 h6
a5 b5 c5 d5 e5 f5 g5 h5
a4 b4 c4 d4 e4 f4 g4 h4
a3 b3 c3 d3 e3 f3 g3 h3
a2 b2 c2 d2 e2 f2 g2 h2
a1 b1 c1 d1 e1 f1 g1 h1
Image:chess_zver_26.png
Image:chess_zhor_26.png
White to play and draw.
GBR code of this study: =0323.12g3g1

The GBR code or Guy-Blandford-Roycroft code is a system of representing the pieces on the board in a chess position. Publications such as EG use it to classify endgame types and to index endgame studies.

In the GBR code, every chess position is represented by six digits, in the following format:

abcd.ef

For the first four digits, each white piece counts as 1, and each black piece counts as 3. Thus, for example, if White has two knights and Black has one knight, numeral d = 1 + 1 + 3 = 5. If that is all the material other than the kings, the position is classified 0005. Values 0 through 8 represent all normal permutations of force; 9 is used if either side has promoted material.

The last two digits of the code represent the number of White and Black pawns, respectively.

[edit] Usage

GBR code can be used to refer to a general class of material. For example, the endgame of two knights against pawn (as famously analysed by A.A. Troitzky, leading to his discovery of the Troitzky line), is GBR class 0002.01.

When indexing or referring to specific positions, rather than generalised material imbalances, the code may be extended in various ways. Two common ones are to prefix "+" to indicate the stipulation "White to play and win" or "=" for "White to play and draw"; and to suffix the position of the white and black kings. With these additions, the position to the right, a draw study by Leonid Kubbel (First Prize, Shakhmaty, 1925), is classified as =0323.12g3g1. (The solution is 1.Bf2+ Kh1 2.h7 c2+ 3.Be3 Rxe3+ 4.Kf2 Rh3 5.Bd5+ cxd5 6.hxg8Q Rh2+ 7.Kf3 c1Q 8.Qg2+ Rxg2). The positions of other pieces can also be added; this produces a notation that provides the same information as Forsyth-Edwards notation.

The code is named after Richard Guy, Hugh Blandford and John Roycroft. The first two devised the original system (the Guy-Blandford code) using different figures to represent the number of pieces. Roycroft suggested to count one for a White piece and three for a Black piece in order to make the code easier to memorise.

[edit] Examples of GBR code

White material Black material GBR class
KQ K 1000
KR K 0100
KB K 0010
KN K 0001
KNN K 0002
K KN 0003
KN KN 0004
KNN KN 0005
K KNN 0006
KN KNN 0007
KNN KNN 0008
KNNN KNN 0009
KPPP KPP 0000.32
KNN KP 0002.01
KBB KN 0023
KQ KR 1300
KQP KQ 4000.10
KRP KR 0400.10
KRRP KRR 0800.10
KBBP KNN 0026.10
KBBP KRNPP 0323.12
In other languages