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^' Terminal king with native/foreign styles
k^ k^, k^' Terminal king with native/foreign styles
+K +K, +K' Enhanced king with native/foreign styles
+k +k, +k' Enhanced king with native/foreign styles
+K^ +K^, +K^' Enhanced terminal king with native/foreign styles
+k^ +k^, +k^' Enhanced terminal 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 Terminal, standard representation
K^' Opposite side’s native style Terminal, 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 (terminal, 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 (terminal, 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 (terminal, 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 (terminal, 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
K^ K^ White king (terminal, Chess style - native)
K^ K^' White king (terminal, Makruk style - foreign)
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)
k^ k^ Black king (terminal, Makruk style - native)
k^ k^' Black king (terminal, Chess 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 (terminal, Chess style - native)
Q Q White queen (Chess style - native)
k^ k^ Black king (terminal, Ōgi style - native)
s s Black silver (Ōgi style - native)
+s +s Black promoted silver (Ōgi style - native)
K^ K^' White king (terminal, Ōgi style - foreign)
k^ k^' Black king (terminal, Chess style - foreign)

Combined Modifier Examples

All possible combinations for a given character:

EPIN Side State Terminal Style Description
K First Normal No Native Standard native piece
k Second Normal No Native Standard native piece
K^ First Normal Yes Native Terminal native piece
k^ Second Normal Yes Native Terminal native piece
K' First Normal No Derived Standard derived piece
k' Second Normal No Derived Standard derived piece
K^' First Normal Yes Derived Terminal derived piece
k^' Second Normal Yes Derived Terminal derived piece
+K First Enhanced No Native Enhanced native piece
+k Second Enhanced No Native Enhanced native piece
+K^ First Enhanced Yes Native Enhanced terminal native piece
+k^ Second Enhanced Yes Native Enhanced terminal native piece
+K' First Enhanced No Derived Enhanced derived piece
+k' Second Enhanced No Derived Enhanced derived piece
+K^' First Enhanced Yes Derived Enhanced terminal derived piece
+k^' Second Enhanced Yes Derived Enhanced terminal derived piece
-K First Diminished No Native Diminished native piece
-k Second Diminished No Native Diminished native piece
-K^ First Diminished Yes Native Diminished terminal native piece
-k^ Second Diminished Yes Native Diminished terminal native piece
-K' First Diminished No Derived Diminished derived piece
-k' Second Diminished No Derived Diminished derived piece
-K^' First Diminished Yes Derived Diminished terminal derived piece
-k^' Second Diminished Yes Derived Diminished terminal derived piece

PIN Compatibility

Backward Compatibility

All valid PIN identifiers are valid EPIN identifiers:

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

Extension Benefits

EPIN adds style capabilities while preserving PIN features: