Fenex Chess Library Demo

Interactive demonstration of the Fenex Rust chess library's piece movement logic

White to move

How to Play

  • Click a piece to select it
  • Valid moves will be highlighted in green
  • Click a highlighted square to move
  • Supports all chess rules including castling, en passant, and promotion
  • Automatically detects check, checkmate, and stalemate

Game Status

Game in progress

Current FEN Position

Move History

About Fenex

Fenex is a comprehensive Rust chess library that provides:

  • FEN Support: Parse and generate FEN strings
  • Move Generation: Legal move validation
  • Special Moves: Castling, en passant, pawn promotion
  • Game States: Check, checkmate, and stalemate detection
  • Chess Notation: Algebraic notation support

This web demo replicates the library's core functionality in JavaScript for interactive demonstration.

Quick Examples