This is an esoteric chess move notation using a total of 64 characters, thus being Base64 compatible.
If saved in a file, it should be converted from base64 into binary with the header CHESS64 in ASCII and the file extension .chess64.
As a chess board is made up of 64 squares, it's notated by characters used in Base64 encoding.
White's half of the board uses uppercase letters, odd numbers, and a plus.
Black's half of the board uses lowercase letters, even numbers, and a slash.
Both sides are rougly mirrored, with the letters changing case, numbers having a difference of 1, and special characters switching.
| a | b | c | d | e | f | g | h |
| i | j | k | l | m | n | o | p |
| q | r | s | t | u | v | w | x |
| y | z | 0 | 2 | 4 | 6 | 8 | / |
| Y | Z | 1 | 3 | 5 | 7 | 9 | + |
| Q | R | S | T | U | V | W | X |
| I | J | K | L | M | N | O | P |
| A | B | C | D | E | F | G | H |
Moves are notated sequentially alternating between white and black, as you would in normal chess notation. With both the starting and destination square given (for example M5m4GVbs)
Spaces or other forms of whitespace should not be used to maintain base64 compatibility.
As not all chess moves can be notated via a simple movement from square to square, special cases exist.
In the case of pawn promotion, a special format is used:
-
The movement of the pawn is notated first as normal.
-
The piece is chosen by using its character in algebraic notation twice (illegal move as piece would stand still)
RRorrr= RookNNornn= KnightBBorbb= BishopQQorqq= Queen
-
Notation then resumes as normal.
Example: nfQQ
Even though castling wouldn't require special notation, as it requires movement that is normally illegal for the king, you can use the following notation of the rooks "standing still" to imply castling:
AAoraa= Queen's side castlingHHorhh= King's side castling
A resign is noted by the king algebraically twice as KK or kk, implying knocking it over (illegal move as piece would stand still).
A draw is noted by doing the same but with the letter D, as in DD or dd. This is because D is short for "Draw".
En passant does not use a special notation, the pawn's movement is noted as normal.
1. e4 e5 2. Nf3 Nc6 3. Bc4 Bd6 4. O-O b6 5. Nxe5 Bxe5 6. Qh5 Nf6 7. Qxf7# 1-0
Would become
M5m4GVbsF1ftHHV4t4D/gv/n