PNN Examples
Essential implementation guide for Piece Name Notation v1.0.0 extending PIN primitives.
Basic Examples
Traditional Pieces
PNN |
PIN |
Description |
KING |
K |
Royal piece |
king |
k |
Royal piece |
QUEEN |
Q |
Combined rook and bishop |
queen |
q |
Combined rook and bishop |
ROOK |
R |
Orthogonal piece |
rook |
r |
Orthogonal piece |
BISHOP |
B |
Diagonal piece |
bishop |
b |
Diagonal piece |
KNIGHT |
N |
L-shaped movement |
knight |
n |
L-shaped movement |
PAWN |
P |
Front-line piece |
pawn |
p |
Front-line piece |
With State Modifiers
PNN |
PIN |
Description |
+KING |
+K |
Enhanced king (special privileges) |
+king |
+k |
Enhanced king (special privileges) |
+ROOK |
+R |
Enhanced rook (expanded capabilities) |
+rook |
+r |
Enhanced rook (expanded capabilities) |
-PAWN |
-P |
Diminished pawn (special vulnerability) |
-pawn |
-p |
Diminished pawn (special vulnerability) |
Traditional Game Styles
Japanese Shōgi
PNN |
PIN |
Description |
GOLD |
G |
Gold general (金将) |
gold |
g |
Gold general (金将) |
SILVER |
S |
Silver general (銀将) |
silver |
s |
Silver general (銀将) |
+SILVER |
+S |
Promoted silver |
+silver |
+s |
Promoted silver |
LANCE |
L |
Forward-moving piece |
lance |
l |
Forward-moving piece |
+LANCE |
+L |
Promoted lance |
+lance |
+l |
Promoted lance |
Chinese Xiangqi
PNN |
PIN |
Description |
GENERAL |
G |
Commander piece (将/帅) |
general |
g |
Commander piece (将/帅) |
ADVISOR |
A |
Counselor piece (士/仕) |
advisor |
a |
Counselor piece (士/仕) |
HORSE |
H |
Cavalry piece (马/馬) |
horse |
h |
Cavalry piece (马/馬) |
SOLDIER |
S |
Infantry piece (兵/卒) |
soldier |
s |
Infantry piece (兵/卒) |
+SOLDIER |
+S |
River-crossed soldier |
+soldier |
+s |
River-crossed soldier |
Case Consistency
Extension Rules
PNN names preserve the exact case of their corresponding PIN character throughout:
PIN |
Valid PNN |
Invalid PNN |
K |
KING |
King , king |
k |
king |
King , KING |
+P |
+PAWN |
+Pawn , +pawn |
-p |
-pawn |
-Pawn , -PAWN |
Multiple Sources
Multiple PNN names can correspond to the same PIN:
PIN |
Possible PNN Sources |
K |
KING , KNIGHT , KHAN |
k |
king , knight , khan |
P |
PAWN , PIECE |
p |
pawn , piece |
S |
SOLDIER , SILVER , STONE |
s |
soldier , silver , stone |