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

QPI Examples

Quick implementation guide for Qualified Piece Identifier v1.0.0.


Single-Style Games

Western Chess

QPI Interpretation
C:K White chess king
C:Q White chess queen
C:+R White chess rook, castling eligible
C:-P White chess pawn, en passant vulnerable
c:k Black chess king
c:q Black chess queen
c:+r Black chess rook, castling eligible
c:-p Black chess pawn, en passant vulnerable

Japanese Shōgi

QPI Interpretation
S:K Sente shōgi king
S:+R Sente promoted shōgi rook
S:G Sente shōgi gold general
S:+P Sente promoted shōgi pawn
s:k Gote shōgi king
s:+r Gote promoted shōgi rook
s:g Gote shōgi gold general
s:+p Gote promoted shōgi pawn

Thai Makruk

QPI Interpretation
M:K White makruk king
M:M White makruk queen (Met)
M:R White makruk rook (Ruea)
M:B White makruk bishop (Khon)
M:N White makruk knight (Ma)
M:P White makruk pawn (Bia)
M:+P White promoted makruk pawn (Bia Kaew)
m:k Black makruk king
m:m Black makruk queen (Met)
m:r Black makruk rook (Ruea)
m:b Black makruk bishop (Khon)
m:n Black makruk knight (Ma)
m:p Black makruk pawn (Bia)
m:+p Black promoted makruk pawn (Bia Kaew)

Chinese Xiangqi

QPI Interpretation
X:G Red xiangqi general
X:+G Red xiangqi flying general
X:A Red xiangqi advisor
X:E Red xiangqi elephant
X:H Red xiangqi horse
X:R Red xiangqi chariot
X:C Red xiangqi cannon
X:P Red xiangqi soldier
X:+P Red xiangqi soldier (crossed river)
x:g Black xiangqi general
x:+g Black xiangqi flying general
x:a Black xiangqi advisor
x:e Black xiangqi elephant
x:h Black xiangqi horse
x:r Black xiangqi chariot
x:c Black xiangqi cannon
x:p Black xiangqi soldier
x:+p Black xiangqi soldier (crossed river)

Cross-Style Scenarios

Chess vs. Ōgi Match

In a hybrid game where the first player uses Chess pieces and the second player uses Ōgi pieces:

QPI Interpretation
C:K Chess king, controlled by first player
C:Q Chess queen, controlled by first player
C:+R Chess rook (castling eligible), controlled by first player
s:k Ōgi king, controlled by second player
s:+r Ōgi promoted rook, controlled by second player
s:+i Ōgi promoted princess, controlled by second player

Ōgi vs. Makruk Match

In a hybrid game where the first player uses Ōgi pieces and the second player uses Makruk pieces:

QPI Interpretation
O:K Ōgi king, controlled by first player
O:P Ōgi pawn, controlled by first player
O:+P Ōgi promoted pawn, controlled by first player
m:k Makruk king, controlled by second player
m:m Makruk queen (Met), controlled by second player
m:+p Makruk promoted pawn (Bia Kaew), controlled by second player

Capture Mechanics and Style Mutations

Scenario 1: Chess vs. Chess

In a traditional chess match where both players use the same style, captures follow standard chess mechanics. When White captures a Black piece, the captured piece is moved to White’s reserve according to the Sashité protocol, even though chess rules prevent it from being reintroduced into play.

Example capture:

The QPI identifier remains unchanged (c:p) since the piece retains its original side and style attributes. However, the piece’s physical location in White’s reserve means that Black loses operational control over it, even though the piece still belongs to Black’s side. The piece remains permanently inactive since chess rules don’t allow dropping captured pieces back into play.

Scenario 2: Shōgi vs. Shōgi

In a traditional shōgi match, captures work differently from chess. When Sente captures a Gote piece, the captured piece not only changes ownership but also changes side according to shōgi rules, allowing it to be dropped back into play later.

Example capture:

Notice the double mutation: the QPI changes from s:+p to S:P reflecting the side change from gote to sente (case change) and the loss of promotion (PIN changes from +p to P). This reflects shōgi’s capture mechanic where pieces switch allegiance, lose any promotions, and can be reintroduced into play fighting for their new owner.

Scenario 3: Ōgi vs. Chess

In a cross-style match between Ōgi and Chess players, captures follow unique mechanics where captured pieces undergo complete transformation. When the Ōgi player captures a Chess piece, it not only changes ownership and side but also transforms into a different piece type according to Ōgi rules.

Example capture:

This demonstrates complete transformation: the QPI changes from c:q to O:P reflecting the side change from second to first player (case change), the type transforms from queen to pawn, and the style changes from chess to ōgi tradition. This reflects Ōgi’s transformation mechanic where captured pieces are converted into the capturing player’s piece tradition and can be reintroduced with their new identity.