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

EPIN Examples

Quick implementation guide for Extended Piece Identifier Notation v1.0.0 extending PIN with style derivation markers.


PIN Extension

Basic Extension

PIN EPIN Variants Interpretation
K K, K' King with native/foreign styles
k k, k' King with native/foreign styles
+K +K, +K' Enhanced king with native/foreign styles
+k +k, +k' Enhanced king with native/foreign styles
-P -P, -P' Diminished pawn with native/foreign styles
-p -p, -p' Diminished pawn with native/foreign styles

Style Derivation Logic

EPIN Format Style Source Usage
K Current side’s native style Standard representation
K' Opposite side’s native style Cross-style scenarios
k Current side’s native style Standard representation
k' Opposite side’s native style Cross-style scenarios

Single-Style Games

Western Chess (Both Players)

PIN Base EPIN Interpretation
K K White king (Chess style - native)
+K +K White king, enhanced state (Chess style)
+R +R White rook, enhanced state (Chess style)
-P -P White pawn, diminished state (Chess style)
k k Black king (Chess style - native)
+k +k Black king, enhanced state (Chess style)
+r +r Black rook, enhanced state (Chess style)
-p -p Black pawn, diminished state (Chess style)

Japanese Shōgi (Both Players)

PIN Base EPIN Interpretation
K K Sente king (Shōgi style - native)
R R Sente rook (Shōgi style - native)
+R +R Sente promoted rook (Shōgi style - native)
S S Sente silver general (Shōgi style - native)
+S +S Sente promoted silver (Shōgi style - native)
k k Gote king (Shōgi style - native)
r r Gote rook (Shōgi style - native)
+r +r Gote promoted rook (Shōgi style - native)
s s Gote silver general (Shōgi style - native)
+s +s Gote promoted silver (Shōgi style - native)

Cross-Style Games

Chess vs. Makruk

First player (uppercase): Chess style Second player (lowercase): Makruk style

PIN Base EPIN Interpretation
P P White pawn (Chess style - native)
P P' White pawn (Makruk style - foreign)
R R White rook (Chess style - native)
R R' White rook (Makruk style - foreign)
p p Black pawn (Makruk style - native)
p p' Black pawn (Chess style - foreign)
r r Black rook (Makruk style - native)
r r' Black rook (Chess style - foreign)

Chess vs. Ōgi

First player (uppercase): Chess style Second player (lowercase): Ōgi style

PIN Base EPIN Interpretation
K K White king (Chess style - native)
Q Q White queen (Chess style - native)
k k Black king (Ōgi style - native)
s s Black silver (Ōgi style - native)
+s +s Black promoted silver (Ōgi style - native)
K K' White king (Ōgi style - foreign)
k k' Black king (Chess style - foreign)

PIN Compatibility

Backward Compatibility

All valid PIN identifiers are valid EPIN identifiers:

PIN EPIN Status
K K Valid EPIN (native style)
+R +R Valid EPIN (enhanced, native style)
-p -p Valid EPIN (diminished, native style)

Extension Benefits

EPIN adds style capabilities while preserving PIN features: