Skip to content

sashite/feen-viewer.html

Repository files navigation

FEEN Viewer

Demo FEEN Spec License: CC0-1.0

A simple web viewer for FEEN (Field Expression Encoding Notation) board positions.

FEEN is a minimalistic, rule-agnostic format aimed at capturing static board positions in a canonical, compact, and game-neutral way.

Usage

Open index.html in any modern web browser, or use the live demo.

Enter a valid FEEN string and click "Load Position" to visualize the board.

FEEN Format

FEEN uses three space-separated fields:

<PIECE-PLACEMENT> <HANDS> <STYLE-TURN>

Examples

# Chess starting position
-rnbqk^bn-r/+p+p+p+p+p+p+p+p/8/8/8/8/+P+P+P+P+P+P+P+P/-RNBQK^BN-R / W/w

# Shōgi starting position
lnsgk^gsnl/1r5b1/ppppppppp/9/9/9/PPPPPPPPP/1B5R1/LNSGK^GSNL / J/j

# Cross-style position (Chess vs Makruk)
rnsmk^snr/8/pppppppp/8/8/8/+P+P+P+P+P+P+P+P/-RNBQK^BN-R / W/s

# Position with captured pieces
r1bq1b1r/+p+p+p+p1k^+p+p/2n2n2/4p3/4P3/5N2/+P+P+P+P1+P+P+P/-RNBQK^2+R p/B W/w

Features

  • Parse and visualize FEEN positions
  • Support for 1D and 2D boards
  • Cross-style games (e.g. Chess vs Makruk)
  • Captured pieces display ("pieces in hand")
  • Real-time position updates while editing the FEEN string

Related Specifications

License

Dedicated to the public domain under CC0 1.0 Universal.

About

View 1D and 2D chess-like positions using Format for Encounter & Entertainment Notation (FEEN).

Resources

License

Stars

Watchers

Forks

Contributors

Languages