- Sashité for Developers
- Specifications
- FEEN
- 1.0.0
- Examples
FEEN Examples
- Field Expression Encoding Notation (FEEN) v1.0.0
- Author: Cyril Kato
- License: Open Web Foundation Agreement 1.0
Overview
This document provides comprehensive examples of FEEN (Field Expression Encoding Notation) usage across various game types, scenarios, and configurations. These examples illustrate practical applications of the FEEN specification while remaining rule-agnostic.
Note: All examples are for illustration purposes only. FEEN does not define or assume any game-specific rules, movement patterns, or win conditions.
Quick Reference Examples
Traditional Game Starting Positions
# Chinese Xiangqi
rheag^aehr/9/1c5c1/p1p1p1p1p/9/9/P1P1P1P1P/1C5C1/9/RHEAG^AEHR / X/x
# Go
19/19/19/19/19/19/19/19/19/19/19/19/19/19/19/19/19/19/19 181S/181s G/g
# Japanese Shōgi
lnsgk^gsnl/1r5b1/ppppppppp/9/9/9/PPPPPPPPP/1B5R1/LNSGK^GSNL / S/s
# Thai Makruk
rnsmk^snr/8/pppppppp/8/8/PPPPPPPP/8/RNSK^MSNR / M/m
# Western Chess
+rnbq+k^bn+r/+p+p+p+p+p+p+p+p/8/8/8/8/+P+P+P+P+P+P+P+P/+RNBQ+K^BN+R / C/c
Games After Opening Moves
# Chess after 1.e4
+rnbq+k^bn+r/+p+p+p+p+p+p+p+p/8/8/4P3/8/+P+P+P+P1+P+P+P/+RNBQ+K^BN+R / c/C
# Chess after 1.e4 c5 (Sicilian Defense)
+rnbq+k^bn+r/+p+p1+p+p+p+p+p/8/2p5/4P3/8/+P+P+P+P1+P+P+P/+RNBQ+K^BN+R / C/c
# Shōgi after 1.P-7f
lnsgk^gsnl/1r5b1/ppppppppp/9/9/2P6/PP1PPPPPP/1B5R1/LNSGK^GSNL / s/S
Same-Style Games
Chess Positions
Opening Phase
# Ruy Lopez Opening: 1.e4 e5 2.Nf3 Nc6 3.Bb5
r1bqk^bnr/+p+p+p+p1+p+p+p/2n5/1B2p3/4P3/5N2/+P+P+P+P1+P+P+P/RNBQK^2R / c/C
# Queen's Gambit: 1.d4 d5 2.c4
+rnbq+k^bn+r/+p+p+p1+p+p+p+p/8/3p4/2PP4/8/+P+P2+P+P+P+P/+RNBQ+K^BN+R / C/c
Cross-Style Games
Chess vs Alternative Styles
Chess vs Makruk
# Initial hybrid position
rnsmk^snr/8/pppppppp/8/8/8/+P+P+P+P+P+P+P+P/+RNBQ+K^BN+R / C/m
Custom Style Combinations
# Fantasy styles
abcde^fgh/hgfedcba/8/8/8/8/ABCDEFGH/HGFED^CBA / A/b
# Numeric style identifiers
xyz123xy/8y^6/8/8/8/8/6Y^8/YX321ZYX / S/t
Position with Captured Pieces
r1bqk^b1r/+p+p+p+p1+p+p+p/2n2n2/4p3/2B1P3/5N2/+P+P+P+P1+P+P+P/RNBQK^2R 2P/p C/c
Irregular Board Shape
rkr/pp/PPPP / G/g
1D Chess Board (size 8) Starting Position
k^+p4+PK^ / C/c
Multi-Dimensional Examples
3D Chess (Raumschach)
Initial 3D Position
# 5x5x5 Raumschach starting position
+rn+k^n+r/+p+p+p+p+p/5/5/5//buqbu/+p+p+p+p+p/5/5/5//5/5/5/5/5//5/5/5/+P+P+P+P+P/BUQBU//5/5/5/+P+P+P+P+P/+RN+K^N+R / R/r
QPI Inference Examples
These examples demonstrate how FEEN positions map to Qualified Piece Identifier (QPI) identifiers:
Simple QPI Conversion
Chess Position
Given this FEEN position:
+rnbq+k^bn+r/+p+p+p1+p+p+p+p/8/8/4p3/8/+P+P+P+P1+P+P+P/+RNBQ+K^BN+R /P C/c
Board QPI Mappings:
- “+r” (a8) → “c:+r”
- “+R” (a1) → “C:+R”
- “p” (e4) → “c:p”
Hand QPI Mappings:
- “P” (second player’s hand) → “C:P”
