ChessMoveCalc

v1.0.1
com.chessmovecalc/chessmovecalc Checked 2 days ago Published 3 days ago

Chess 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).

ParameterTypeDescription
games *arrayGames played. Each has the opponent rating and your result.
rating *numberYour current rating, e.g. 1500.
fide_400_point_rulebooleanCount rating gaps above 400 as 400 (FIDE rule). Default true.
k_factornumberK-factor. Default 20.

elo_win_probability Elo win probability

Expected score (win probability counting draws as half) for two players from their Elo ratings.

ParameterTypeDescription
rating_a *numberRating of player A.
rating_b *numberRating 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.

ParameterTypeDescription
opponent_ratings *array
score *numberTotal 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.

ParameterTypeDescription
fen *stringFEN, 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 (!, ?, !?, ?!).

ParameterTypeDescription
move *stringA single SAN move.
colorstringOptional: who played the move (for castling direction and wording).