- 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 / XIANGQI/xiangqi
# Go
19/19/19/19/19/19/19/19/19/19/19/19/19/19/19/19/19/19/19 181S/181s GO/go
# Japanese Shōgi
lnsgkgsnl/1r5b1/ppppppppp/9/9/9/PPPPPPPPP/1B5R1/LNSGKGSNL / SHOGI/shogi
# Thai Makruk
rnsmksnr/8/pppppppp/8/8/PPPPPPPP/8/RNSKMSNR / MAKRUK/makruk
# 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 / CHESS/chess
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 / chess/CHESS
# 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 / CHESS/chess
# Shōgi after 1.P-7f
lnsgkgsnl/1r5b1/ppppppppp/9/9/2P6/PP1PPPPPP/1B5R1/LNSGKGSNL / shogi/SHOGI
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 / chess/CHESS
# 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 / CHESS/chess
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 / CHESS/makruk
Chess vs Ōgi
# Initial hybrid setup
lnsiksnl/1r4b1/pppppppp/8/8/8/+P+P+P+P+P+P+P+P/+RNBQ+KBN+R / CHESS/ogi
Custom Style Combinations
# Fantasy styles
abcdefgh/hgfedcba/8/8/8/8/ABCDEFGH/HGFEDCBA / ALPHA/beta
# Numeric style identifiers
xyz123xy/8y6/8/8/8/8/6Y8/YX321ZYX / STYLE1/style2
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 CHESS/chess
Irregular Board Shape
rkr/pp/PPPP / GAME/game
1D Chess Board (size 8) Starting Position
k+p4+PK / CHESS8/chess8
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 / RAUMSCHACH/raumschach
GAN Inference Examples
These examples demonstrate how FEEN positions map to General Actor Notation (GAN) identifiers:
Simple GAN 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 CHESS/chess
Board GAN Mappings:
- “r” (a8) → “chess:r”
- “R” (a1) → “CHESS:R”
- “p” (e4) → “chess:p”
Hand GAN Mappings:
- “P” (second player’s hand) → “CHESS: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 CHESS/ogi
Board GAN Mappings:
- “l” (a8) → “ogi:l”
- “R” (a1) → “CHESS:R”
- “p” (e4) → “ogi:p”
Hand GAN Mappings:
- “p” (second player’s hand) → “ogi:p”