ChessMoveCalc
v1.0.1Chess tools: Elo rating change, win probability, performance rating, FEN check, SAN explainer.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
elo_rating_change Elo rating change
Calculate the Elo rating change for one or more games: expected score, points gained or lost, and the new rating. Uses the standard Elo formula with a K-factor (FIDE uses 40 for new/junior players, 20 for most players, 10 for players who have reached 2400).
| Parameter | Type | Description |
|---|---|---|
games * | array | Games played. Each has the opponent rating and your result. |
rating * | number | Your current rating, e.g. 1500. |
fide_400_point_rule | boolean | Count rating gaps above 400 as 400 (FIDE rule). Default true. |
k_factor | number | K-factor. Default 20. |
elo_win_probability Elo win probability
Expected score (win probability counting draws as half) for two players from their Elo ratings.
| Parameter | Type | Description |
|---|---|---|
rating_a * | number | Rating of player A. |
rating_b * | number | Rating of player B. |
performance_rating Tournament performance rating
Performance rating for an event from the opponents' ratings and your total score. Returns the Elo-curve estimate (average opponent + rating difference for your score percentage) and the simple linear estimate.
| Parameter | Type | Description |
|---|---|---|
opponent_ratings * | array | |
score * | number | Total points scored (win = 1, draw = 0.5). |
validate_fen Validate and describe a FEN
Check a chess FEN string for errors (board shape, kings, pawns on back ranks, castling rights, en passant square, side not to move in check) and describe the position: board diagram, side to move, material count and piece list.
| Parameter | Type | Description |
|---|---|---|
fen * | string | FEN, e.g. rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1 |
explain_chess_move Explain a move in algebraic notation
Translate a move in Standard Algebraic Notation (SAN), e.g. Nxe5+, O-O-O, exd6, e8=Q#, Rad1, into plain English, including captures, checks, castling, promotion, disambiguation and annotation symbols (!, ?, !?, ?!).
| Parameter | Type | Description |
|---|---|---|
move * | string | A single SAN move. |
color | string | Optional: who played the move (for castling direction and wording). |