Skip to contents

The position that results from playing a move

Usage

fen_after_move(ctx, fen, uci_move)

Arguments

ctx

A chess.js V8 context from new_chess_context().

fen

A FEN string of the position before the move.

uci_move

A UCI move string.

Value

The FEN after the move, or NA_character_ if it is illegal.