Shogi Notation
   HOME

TheInfoList



OR:

Shogi notation is the set of various abbreviatory notational systems used to describe the piece movements of a
shogi , also known as Japanese chess, is a strategy board game for two players. It is one of the most popular board games in Japan and is in the same family of games as Western chess, ''chaturanga, Xiangqi'', Indian chess, and '' janggi''. ''Shōgi'' ...
game record or the positions of pieces on a shogi board. A game record is called a ''
kifu A board game record is a game record for a board game. ''Kifu'' (棋譜) is the Japanese Japanese may refer to: * Something from or related to Japan, an island country in East Asia * Japanese language, spoken mainly in Japan * Japanese peo ...
'' in Japanese.


Recording moves


Western notation

The system used in English language texts to express shogi moves was established by George Hodges and Glyndon Townhill in 1976 by the second issue of ''Shogi'' magazine. A slightly modified version was used in . It is derived from the algebraic notation used for chess, but differs in several respects. A typical move might be notated P86 or P-8f. The notation format has the following 5 part structure: : An example using all 5 parts is S72x83+ or S7bx8c+. All parts are obligatory except for the ''origin'' and ''promotion'' parts. (Thus, most notation strings only contain 3 parts.) The ''origin'' part is only indicated when needed to resolve ambiguity. The ''promotion'' part is only needed when there is the possibility of promotion. Western notation is not used in Japanese language texts, as it is no more concise than traditional notation with Japanese characters (''
kanji are the logographic Chinese characters taken from the Chinese family of scripts, Chinese script and used in the writing of Japanese language, Japanese. They were made a major part of the Japanese writing system during the time of Old Japanese ...
'') and two ciphers which originated in the
Edo period The or is the period between 1603 and 1867 in the history of Japan, when Japan was under the rule of the Tokugawa shogunate and the country's 300 regional '' daimyo''. Emerging from the chaos of the Sengoku period, the Edo period was characteriz ...
.


Piece

The first letter represents the piece moved. For instance, P is for Pawn. Below are the abbreviations used. : Promoted pieces are indicated by a + preceding the letter. For example, +P is a promoted pawn ( ''tokin''), +R is a promoted rook (that is, a dragon ). Some Japanese websites (such as
81Dojo 81Dojo (Japanese: ''hachi-jū-ichi dōjō,'' ''hachi-jū-ichi'' or ''hachi-ichi'') is a non-profit internet shogi server and internet forum. While the site is based in Japan, there is an additional English language version of the website, making ...
) and Japanese authors use two different abbreviations for the promoted rook and promoted bishop in a way more similar to Japanese notation. Thus, D (for ''dragon'') instead of +R and H (for ''horse'') instead of +B. Additionally, a promoted pawn can be encountered as T (for ''tokin'') instead of +P.


Ambiguity resolution: Origin coordinates

In cases where the moving piece is ambiguous, the starting square is added after the letter for the piece but before the movement indication. For example, in diagrams below, Black has three golds which can move to square 78. Thus, simply notating G-78 is not enough to indicate the move. The three possible moves are distinguished via the origin specification as G77-78, G68-78, or G79-78.


Movement type

Following the abbreviation for the piece is a symbol for the type of move. There are 3 different indications: : As examples, P-24 indicates moving one's pawn to the 2d square (without capture), Px24 indicates moving one's pawn to the 24 square and capturing the opponent's piece that was on 24, and P*24 indicates dropping one's pawn in hand to the previously empty 24 square. (Note the x indication is a significant departure from Japanese notation, which has no way of signaling whether a piece was captured.) There is some variation for the drop symbol. A * (asterisk) is often used, but some books (e.g. use a ’ (apostrophe) instead. Thus, Hosking B’56 is equivalent to Hodges B*5f. The simple movement indication (the hyphen -) is not used by who does not use a movement symbol. Thus, Hosking P26 is equivalent to Hodges P-2f.


Destination coordinates

After the movement piece indication is the square on which the piece lands. This is indicated by a numeral for the file (1–9) and the rank (1–9), with 11 being the top right corner from Black's perspective and 99 being the bottom left corner. This is based on Japanese notation conventions. Hosking differs from Hodges in that Hosking uses numerals for the rank notation whereas Hodges uses letters (a–i) for the rank.


Promotion status

If a move entitles the player to promote, then a + is added to the end if the promotion was taken or an = if it was declined. For example, Nx73= indicates an unpromoted knight capturing on 73 without promoting while Nx73+ indicates an unpromoted knight capturing on 73 and promoting. The promotion status is always omitted in situations where promotion is not possible. When promotion is possible, then the promotion status is obligatorily notated.


Other conventions

Game moves in western notation are always numbered (unlike Japanese game records). Additionally, what is numbered are pairs of two moves – the first move by Black, the second by White – instead of numbering each move by each player. This also differs from the Japanese system. For instance, three pairs of moves (or six individual moves) are numbered as 1.P-76 P-34 2.P-26 P-44 3.S-48 S-32. However, in the British ''Shogi'' magazine of the 1970s and 1980s, the pair number convention was not used for
tsumeshogi or tsume (詰め) is the Japanese term for a shogi miniature problem in which the goal is to checkmate the opponent's king. Tsume problems usually present a situation that might occur in a shogi game (although unrealistic artistic tsume shogi exi ...
problems, in which case the each player's move is number just as in the Japanese notation conventions. Following western chess conventions, omitted moves are indicated with an ... ellipsis. As a consequence of the way moves are numbered in the western system, all moves by White are notated with an ellipsis prefix in texts. For example, ...P-55 indicates a move by White while P-55 indicates a move by Black. In handicap games, White plays first, so Black's first move is replaced by an ellipsis. For example, 1...G-32 2.P-76 G-72. Unlike western chess, game states like check or checkmate are not typically notated. However, the use of question marks and exclamation points to indicate questionable and good moves, respectively, are occasionally used.


Japanese notation

The earliest way to indicate game records in Japan during the
Edo period The or is the period between 1603 and 1867 in the history of Japan, when Japan was under the rule of the Tokugawa shogunate and the country's 300 regional '' daimyo''. Emerging from the chaos of the Sengoku period, the Edo period was characteriz ...
was to use descriptive sentences such as ''Open the bishop's diagonal, push the rook's pawn, close the bishop's diagonal'' and the like. Soon afterward, a notational system was developed which is mostly the same as what is used in the present day in Japan.


Current standard

In Japanese notation, the notation string has the following five-part format: : A typical move is indicated like (equivalent to western P-86). An example that uses all five parts is (which could be either S72-83+ or S72x83+ in western notation). The player's side information is optional and the movement and promotion indications are only used in order to resolve ambiguity.


=Player's side

= It is common for the White (''gote'') and Black (''sente'') player to be indicated at the beginning of the notation string with either black and white triangles () or shogi-piece-shaped pentagons (), such as or . However, this is not obligatory: several books notate shogi moves without explicit indication of which player is making the moves. (See the adjacent image for an example.) In such cases, knowing which player the move refers to can be determined by the context in the book. This white/black convention is more common when the moves are not numbered (which is also optional to notate).


=Destination coordinates

= For the board's coordinates, the file is indicated with an Arabic numeral followed by the rank indicated with a
Japanese numeral The Japanese numerals are the number names used in Japanese. In writing, they are the same as the Chinese numerals, and large numbers follow the Chinese style of grouping by 10,000. Two pronunciations are used: the Sino-Japanese (on'yomi) readi ...
(instead of an Arabic number or letter like in the western system). For example, square 23 in Japanese notation is . : Earlier (for instance, in the Edo period), only Japanese numerals were used for both file and rank coordinate. There is also an abbreviatory convention: when a piece moves to the same coordinates as the previous move's piece (as in a capture), the position is simply indicated with (which is pronounced ''dō'' or ''onajiku'') instead of the file-rank coordinate numbers. For example, if Black's pawn moved to a square in which White's pawn captured Black's pawn and then both players' bishops recaptured followed by a rook recapture, this could be notated as which would be equivalent to the western notation sequence 1.P-24 Px24 2.Bx24 Bx24 3.Rx24. always implies a capture (although not all captures will use , of course). In some cases where the coordinates may be forgotten by the reader (for instance, if its antecedent is separated by a page turn or several paragraphs of text), then the number coordinates will precede to aid the reader like this: . An alternate symbol is used instead of in older books. It is also possible to encounter Arabic numerals for both the file and rank coordinates, such as instead of . Also, since Japanese is often written vertically from top to bottom, the notation may be written vertically as well with the top number indicating the file and rank number below the file number. Finally, in older books of the Edo period, the notation may be written from right to left (as is the case with traditional vertical writing) even when the notation is written horizontally. However, this older practice is not used in the modern period, where horizontally writing is read from left to right following European language traditions. (See the 1839 game record image below for such an example.)


=Piece

= Pieces are indicated with kanji (instead of letters as in the western system). The piece's kanji follows the piece's board coordinates. The following symbols are used. : Promoted pieces are indicated with a prefix except for the promoted pawn, promoted bishop, and promoted rook, which are , , , respectively. The character for dragon can also be encountered as its
shinjitai are the simplified forms of kanji used in Japan since the promulgation of the Tōyō Kanji List in 1946. Some of the new forms found in ''shinjitai'' are also found in Simplified Chinese characters, but ''shinjitai'' is generally not as extensiv ...
form as well. is used instead of in some older texts. In
tsumeshogi or tsume (詰め) is the Japanese term for a shogi miniature problem in which the goal is to checkmate the opponent's king. Tsume problems usually present a situation that might occur in a shogi game (although unrealistic artistic tsume shogi exi ...
, the character is used essentially as a
variable Variable may refer to: * Variable (computer science), a symbolic name associated with a value and whose associated value may be changed * Variable (mathematics), a symbol that represents a quantity in a mathematical expression, as used in many ...
that represents a piece of any value. It is used to indicate to an interposing piece (of any kind) that is placed between the king and the opponent's checking piece.


=Ambiguity resolution: Movement description

= When there is ambiguity in piece movement, there is a complex system of movement description using the symbols below. The movement descriptors consist of (a) a dropped piece indicator, (b) movement toward destination indicators, and (c) movement origin indicators. : The symbol for a dropped piece is following the piece's character. In the usual course of a game, most dropped pieces will probably be unambiguous. In these unambiguous cases, explicit notation for the dropped piece is not required and usually omitted (unlike in western notation where the drop notation is obligatory). For example, a western notation such as P*23 will be notated simply as instead of . In other situations, there is a possibility that either a piece that is already in play on the board can move to a certain square or a piece of the same kind that is held in hand can be dropped to that square. In this case, when the piece on the board moves to that square, the notation simply notates the move as usual with no drop indication. However, when the piece in hand is dropped to that location, then the drop indication must be present in the notation in order to resolve the ambiguity. In other words, is only used when the following two conditions are met: (i) a piece is dropped and (ii) there is ambiguity with another piece on the board. For ambiguity resolution with pieces on the board, the main notation symbols are for downward movement, for horizontal movement, and for upward movement. Note that these three indicators describe movement toward their destination square. In the example below, three golds can move to the square. The gold that originates on and moves down is notated as (= G77-78). The other two possibilities are notated as (= G68-78) and (= G79-78). The and indicate downward and upward movement, respectively, that can be both vertical as well as diagonal. There are two less common alternate symbols used instead of : and . However, these alternate symbols are reserved for indicating only the two most powerful promoted dragon and horse pieces. Thus, or instead of , but not or . In certain situations, an indication of movement toward the destination square (that is, with , , ) is not sufficient to resolve ambiguity. In these cases, the origin square of the piece is notated with a relative positional indicator. These are for a piece moving from the right (and thus moving leftward) and for a piece moving from the left (rightward). This positional information is relative to each player's directions. Thus, (literally: "white 5-2 gold right") refers to the silver on the right from White's perspective (which would be on the left from Black's perspective). In the special case of golds and silvers as well as promoted pieces with gold-like movements (, , , ), it is possible for there to be a three-way ambiguity in upward movement. In this case, a third positional origin indicator is used: for vertical (straight up) movement. Additionally, this indicator tends to always be used for vertical movement even when simply using ("right") and ("left") would suffice. Relatedly, tends to be used only for golds and silvers and not for other pieces.


=Promotion

= A piece that promotes is indicated with following the piece's character, such as (N-73+). If a piece does not promote, this is indicated with following the piece's character, such as (N-73=). There is an alternate symbol for non-promotion: is sometimes used instead of – for instance, instead of .


=Numbering

= Unlike western notation, numbering Japanese game records is not obligatory. Although players' moves often are not numbered, shogi moves are always counted per player's move. This is commonly seen in checkmate problems where a ''3-move'' () checkmate problem would mean a move sequence of black-white-black. This is unlike western chess which counts each pair of moves as one move. (In western notation for shogi, the move numbering tends to follow western chess notation conventions.)


=Game end

= Shogi games are officially over when a player formally resigns. The resignation is notated as ''tōryō.'' Other possible endings include rare
draw by repetition In chess, the threefold repetition rule states that a player may claim a draw if the same position occurs three times during the game. The rule is also known as repetition of position and, in the USCF rules, as triple occurrence of position.Article ...
, illegal move, and the very rare draw by impasse.


=Other conventions

= Unlike western notation, a capture of a piece is never explicitly notated in the Japanese system since the capture can be understood in the context of the game. However, when is used, it always implies a capture. So, in this sense is a notated capture. But, other captures of pieces that do not have the same coordinates as the preceding move are simply not indicated in the notation system.


=Shorthand

= In addition to the usual kanji symbols, there are also
shorthand Shorthand is an abbreviated symbolic writing method that increases speed and brevity of writing as compared to longhand, a more common method of writing a language. The process of writing in shorthand is called stenography, from the Greek ''ste ...
versions of piece symbols that can be written very quickly. For several of the symbols, there is variation in what shorthand symbol is used – the ones listed here may not be exhaustive of all the alternatives used in Japan. :


Iroha notation

A notation used in older times was the ''iroha'' notation. It used the syllables of the Japanese poem ''
Iroha The is a Japanese poem. Originally the poem was attributed to the founder of the Shingon Esoteric sect of Buddhism in Japan, Kūkai, but more modern research has found the date of composition to be later in the Heian period (794–1179). The f ...
'' () (as well as other Japanese characters) to label each square on the shogi board. : For example, the 23 square was indicated by the symbol .
Tokugawa Ieharu Tokugawa Ieharu (徳川家治) (June 20, 1737 – September 17, 1786) was the tenth ''shōgun'' of the Tokugawa shogunate of Japan, who held office from 1760 to 1786. His childhood name was Takechiyo (竹千代). Ieharu died in 1786 and given t ...
(the tenth shōgun 1760–1786) favored this notational system. Therefore, it was used for all castle game records during his reign.


Kitao–Kawasaki notation

The Kitao–Kawasaki notation is a hybrid notation introduced by the Nekomado publishing company in English translations of shogi books by
Madoka Kitao is a Japanese retired women's professional shogi player who achieved the rank of women's professional 2-dan. Women's shogi professional Promotion history Kitao has been promoted as follows: * 2-kyū: October 1, 2000 * 1-kyū: April 1, 2001 * ...
and Takashi Kaneko.Kaneko, Takashi. 2013. ''Storming the Mino castle.'' R Sams (transl.). Tokyo: Nekomado. The system incorporates elements of both the western and the Japanese notation systems. The order of elements is the same as the western system except that a player's side argument is added. : A typical move is indicated like (western equivalent: P-86). An example that uses all 6 parts is (S72x83+ in western notation). ::


Comparison examples

As an example, a
Tempo Loss Bishop Exchange In shogi, Tempo Loss Bishop Exchange or One-Move-Loss Bishop Exchange or Bishop Exchange With Tempo Loss (一手損角換わり ''ittezon kakugawari'') is a Bishop Exchange (Static Rook) opening that has White trading the bishops very early in ...
game might proceed and be notated like this: Below is another notated game ( Ishida opening) showing the more typical Japanese notation where moves are not numbered, dropped pieces are not indicated, and white/black turns are marked. It also shows an example of ambiguity resolution (G69-58/) and a piece entering a promotion zone that remains unpromoted (Sx23=/).


Recording games and positions


SFEN

SFEN is an extension of
Forsyth–Edwards Notation Forsyth–Edwards Notation (FEN) is a standard notation for describing a particular board position of a chess game. The purpose of FEN is to provide all the necessary information to restart a game from a particular position. FEN is based on a sys ...
(FEN) used for describing board positions of shogi games. Formally, an SFEN is a
text string In computer programming, a string is traditionally a sequence of characters, either as a literal constant or as some kind of variable. The latter may allow its elements to be mutated and the length changed, or it may be fixed (after creation). ...
of
ASCII ASCII ( ), abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Because of ...
characters. It has three fields that are separated by a space. The fields: # Piece placement on the board from Black's perspective # Who has the next move # Pieces in hand The following is an example (from a
Tempo Loss Bishop Exchange In shogi, Tempo Loss Bishop Exchange or One-Move-Loss Bishop Exchange or Bishop Exchange With Tempo Loss (一手損角換わり ''ittezon kakugawari'') is a Bishop Exchange (Static Rook) opening that has White trading the bishops very early in ...
opening) :lnsgk2nl/1r4gs1/p1pppp1pp/1p4p2/7P1/2P6/PP1PPPP1P/1SG4R1/LN2KGSNL b Bb In this example, the first field is lnsgk2nl/1r4gs1/p1pppp1pp/1p4p2/7P1/2P6/PP1PPPP1P/1SG4R1/LN2KGSNL, the second is b, and the last is Bb. For the first field, each piece is represented with a single letter. Gote's pieces are lowercase letters while Sente's pieces are uppercase letters. The set of letters used are the same as the ones used in western notation (p, +p, l, +l, n, +n, s, +s, g, b, +b, r, +r, k). Each rank is separated by a forward slash (/). The listing of ranks is from top (rank 1) to bottom (rank 9), and the order to pieces is from file 9 to file 1 (in other words, from left to right as viewed on typical shogi diagram with gote as the top player and sente as the bottom player). Empty squares are indicated with numeral corresponding to the number of adjacent empty squares on the same rank. In the example, rank 1 is lnsgk2nl which indicates sequence of lance, knight, silver, gold, king followed by two empty squares to the right of the king and a sequence of knight and lance. The second field can be either b for Black's turn to play or w for White's turn to play. In the example, b indicates that Black has the next move. The third field contains all of the pieces in hand held by each player. Black's pieces in hand use capital letters while White's pieces in hand use lowercase. In the example, the Bb indicates that Black has one bishop in hand (B), and White also has one bishop in hand (b). In SFEN holdings, if there are more than one piece of a type in hand, it is preceded by the piece count, e.g. 3P for three pawns in hand. Below is another example showing the board position for
Yoshiharu Habu is a professional shogi player and a chess FIDE Master. His master is Tatsuya Futakami. He is the only person to simultaneously hold seven major professional shogi titles at the same time and is also the only person to qualify as a lifetime tit ...
's famous 52 silver drop in an NHK game ( Bishop Exchange Climbing Silver opening) with
Hifumi Katoh Hifumi (written: 一二三) is a unisex Japanese given name, as well as a family name. Notable people with the given name include: *, Japanese judoka *, Japanese shogi player *, Japanese classical composer *Hifumi Suzuki (born 1957), Japanese Par ...
. :ln1g5/1r2S1k2/p2pppn2/2ps2p2/1p7/2P6/PPSPPPPLP/2G2K1pr/LN4G1b w BGSLPnp


KIF

The KIF file format is used for saving full games of shogi. Internally, it uses Japanese notation in the UTF-8 text encoding, and each move is disambiguated with an origin square.


KI2

The KI2 file format is similar to the KIF format but more compact. Moves are only disambiguated with the standard Japanese relative direction kanji.


CSA

Another format for saving positions and games of shogi, which only uses ASCII internally. Mostly used in the computer shogi arena.


PSN

Portable Shogi Notation is a derivative of the
Portable Game Notation Portable Game Notation (PGN) is a standard plain text format for recording chess games (both the moves and related data), which can be read by humans and is also supported by most chess software. History PGN was devised around 1993, by Steven J. ...
used in chess, is expanded to specify shogi pieces and drops. It uses the Hodges coordinate system. It has little support outside of GNU Shogi. GNU Shogi also uses EPD instead of SFEN: the same board description, but with holdings appended in square brackets. Each held piece is listed, e.g. PPP for three pawns in hand. The following field for player to move has colors reversed from SFEN: w for sente, and b for gote.


See also

*
Chess notation Chess notation systems are used to record either the moves made or the position of the pieces in a game of chess. Chess notation is used in chess literature, and by players keeping a record of an ongoing game. The earliest systems of notation used ...


Notes


References


Sources

* * * * * * * * * * * * {{cite book , last=Hosking , first=Tony , title=The art of shogi , year=1996 , publisher=The Shogi Foundation , isbn=978-0-95310-890-9


External links

* 81Dojo
Notation System
* YouTube
All About Shogi Notations (Japanese, Western, Mixed)
* Shogi Shack

* sfenreader


Shogi Playground
· ''tool that is able to switch between different notation systems, read electronic game records in .csa/.kif/ki2, and generate SFEN strings for board positions'' Shogi theory Chess notation Notation