- Sashité for Developers
- Specifications
- FEEN
- 1.0.0
- Examples
FEEN Examples
- Forsyth–Edwards Enhanced Notation (FEEN) v1.0.0
- Author: Sashité
- License: MIT License
Overview
This document provides comprehensive examples of FEEN (Forsyth–Edwards Enhanced 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
rheagaehr/9/1c5c1/p1p1p1p1p/9/9/P1P1P1P1P/1C5C1/9/RHEAGAEHR / 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
lnsgkgsnl/1r5b1/ppppppppp/9/9/9/PPPPPPPPP/1B5R1/LNSGKGSNL / S/s
# Thai Makruk
rnsmksnr/8/pppppppp/8/8/PPPPPPPP/8/RNSKMSNR / M/m
# Western Chess
+rnbq+kbn+r/+p+p+p+p+p+p+p+p/8/8/8/8/+P+P+P+P+P+P+P+P/+RNBQ+KBN+R / C/c
Games After Opening Moves
# Chess after 1.e4
+rnbq+kbn+r/+p+p+p+p+p+p+p+p/8/8/4P3/8/+P+P+P+P1+P+P+P/+RNBQ+KBN+R / c/C
# Chess after 1.e4 c5 (Sicilian Defense)
+rnbq+kbn+r/+p+p1+p+p+p+p+p/8/2p5/4P3/8/+P+P+P+P1+P+P+P/+RNBQ+KBN+R / C/c
# Shōgi after 1.P-7f
lnsgkgsnl/1r5b1/ppppppppp/9/9/2P6/PP1PPPPPP/1B5R1/LNSGKGSNL / s/S
Same-Style Games
Chess Positions
Opening Phase
# Ruy Lopez Opening: 1.e4 e5 2.Nf3 Nc6 3.Bb5
r1bqkbnr/+p+p+p+p1+p+p+p/2n5/1B2p3/4P3/5N2/+P+P+P+P1+P+P+P/RNBQK2R / c/C
# Queen's Gambit: 1.d4 d5 2.c4
+rnbq+kbn+r/+p+p+p1+p+p+p+p/8/3p4/2PP4/8/+P+P2+P+P+P+P/+RNBQ+KBN+R / C/c
Cross-Style Games
Chess vs Alternative Styles
Chess vs Makruk
# Initial hybrid position
rnsmksnr/8/pppppppp/8/8/8/+P+P+P+P+P+P+P+P/+RNBQ+KBN+R / C/m
Chess vs Ōgi
# Initial hybrid setup
lnsiksnl/1r4b1/pppppppp/8/8/8/+P+P+P+P+P+P+P+P/+RNBQ+KBN+R / C/o
Custom Style Combinations
# Fantasy styles
abcdefgh/hgfedcba/8/8/8/8/ABCDEFGH/HGFEDCBA / A/b
# Numeric style identifiers
xyz123xy/8y6/8/8/8/8/6Y8/YX321ZYX / S/t
Position with Captured Pieces
r1bqkb1r/+p+p+p+p1+p+p+p/2n2n2/4p3/2B1P3/5N2/+P+P+P+P1+P+P+P/RNBQK2R 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
rnknr/+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/RNKNR / 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+kbn+r/+p+p+p1+p+p+p+p/8/8/4p3/8/+P+P+P+P1+P+P+P/+RNBQ+KBN+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”
Cross-Style Position
Given this FEEN position:
lnsiksnl/1r4b1/pppp1ppp/8/4p3/5N2/+P+P+P+P1+P+P+P/+RNBQ+KB1+R /p C/o
Board QPI Mappings:
- “l” (a8) → “o:l”
- “R” (a1) → “C:R”
- “p” (e4) → “o:p”
Hand QPI Mappings:
- “p” (second player’s hand) → “o:p”