Sashité for Developers
  1. Sashité for Developers
  2. Specifications
  3. PNN
  4. 1.0.0
  5. Examples

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
KING^ K^ Terminal royal piece
king^ k^ Terminal 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)

With Terminal Markers

PNN PIN Description
KING^ K^ Terminal king (capture ends match)
king^ k^ Terminal king (capture ends match)
GENERAL^ G^ Terminal general (capture ends match)
general^ g^ Terminal general (capture ends match)
+KING^ +K^ Enhanced terminal king
+king^ +k^ Enhanced terminal king

Traditional Game Styles

Western Chess

PNN PIN Description
KING^ K^ White king (terminal)
king^ k^ Black king (terminal)
QUEEN Q White queen
queen q Black queen
ROOK R White rook
rook r Black rook
BISHOP B White bishop
bishop b Black bishop
KNIGHT N White knight
knight n Black knight
PAWN P White pawn
pawn p Black pawn

Japanese Shōgi

PNN PIN Description
KING^ K^ Sente king (terminal) (王将)
king^ k^ Gote king (terminal) (玉将)
ROOK R Sente rook (飛車)
rook r Gote rook (飛車)
+ROOK +R Sente promoted rook (龍王)
+rook +r Gote promoted rook (龍王)
BISHOP B Sente bishop (角行)
bishop b Gote bishop (角行)
+BISHOP +B Sente promoted bishop (龍馬)
+bishop +b Gote promoted bishop (龍馬)
GOLD G Sente gold general (金将)
gold g Gote gold general (金将)
SILVER S Sente silver general (銀将)
silver s Gote silver general (銀将)
+SILVER +S Sente promoted silver (成銀)
+silver +s Gote promoted silver (成銀)
KNIGHT N Sente knight (桂馬)
knight n Gote knight (桂馬)
+KNIGHT +N Sente promoted knight (成桂)
+knight +n Gote promoted knight (成桂)
LANCE L Sente lance (香車)
lance l Gote lance (香車)
+LANCE +L Sente promoted lance (成香)
+lance +l Gote promoted lance (成香)
PAWN P Sente pawn (歩兵)
pawn p Gote pawn (歩兵)
+PAWN +P Sente promoted pawn (と金)
+pawn +p Gote promoted pawn (と金)

Chinese Xiangqi

PNN PIN Description
GENERAL^ G^ Red general (terminal) (帅)
general^ g^ Black general (terminal) (将)
ADVISOR A Red advisor (仕)
advisor a Black advisor (士)
ELEPHANT E Red elephant (相)
elephant e Black elephant (象)
HORSE H Red horse (馬)
horse h Black horse (馬)
CHARIOT R Red chariot (車)
chariot r Black chariot (車)
CANNON C Red cannon (炮)
cannon c Black cannon (砲)
SOLDIER S Red soldier (兵)
soldier s Black soldier (卒)

Combined Modifier Examples

All possible combinations for a given name:

PNN PIN Side State Terminal Description
KING K First Normal No Standard piece
king k Second Normal No Standard piece
KING^ K^ First Normal Yes Terminal piece
king^ k^ Second Normal Yes Terminal piece
+KING +K First Enhanced No Enhanced piece
+king +k Second Enhanced No Enhanced piece
+KING^ +K^ First Enhanced Yes Enhanced terminal piece
+king^ +k^ Second Enhanced Yes Enhanced terminal piece
-KING -K First Diminished No Diminished piece
-king -k Second Diminished No Diminished piece
-KING^ -K^ First Diminished Yes Diminished terminal piece
-king^ -k^ Second Diminished Yes Diminished terminal piece

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
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
K^ KING^, KNIGHT^, KHAN^
k^ king^, knight^, khan^
P PAWN, PIECE
p pawn, piece
S SOLDIER, SILVER, STONE
s soldier, silver, stone
G^ GENERAL^, GOLD^
g^ general^, gold^