Portable Move Notation) is a lightweight, PAN-based format that gives a consistent and easy way to represent moves in the context of chess games.
Compatible with multidimensional boards, easy for humans to read and write, and easy for machines to import and export, it is completely laws of game independent and compatible with most abstract strategy board games such as Draughts, Go and the main chess variants, including 장기, หมากรุก, 将棋, Western, 象棋. These properties make PMN an ideal data-interchange format for storing changes between actions of most actors from abstract strategy board games such as pawns, pieces, kings, stones.
The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in RFC 2119.
Naming the board squares
Squares MUST be identified by a coordinate from an array that is a one-dimensional flattening of the board. E.g., on the starting position of a traditional Western chessboard, the square of the White Queen is
59 and the square of the White King is
Notation for Moves
The BNF structure below shows the format of the resource:
<moves> ::= <move> | <move> "." <moves> <move> ::= <actions> <actions> ::= one or many actions in PAN (Portable Action Notation) format
Considering the King’s Gambit opening with the moves:
- e4 e5
After serializing them to PMN format, we MUST have: