Skip to contents

Core

gm_position()
Create a chess position
is_gm_position()
Test whether an object is a chess position
gm_read_fen()
Read a position from 'FEN'
gm_write_fen()
Write a position to 'FEN'
gm_legal_moves()
Generate legal moves
gm_move()
Apply a move to a position
gm_status()
Position status
gm_game
Chess games
is_gm_game()
Test whether an object is a chess game

Analysis

gm_evaluate()
Evaluate a position
gm_bestmove()
Search for the best move
gm_uci_bestmove()
Query a 'UCI' engine for the best move

Play & Simulation

gm_play()
Play a full game between two strategies
gm_simulate()
Simulate many games between strategies

Openings & Puzzles

gm_openings()
Look up openings by name or moves
gm_identify_opening()
Identify the opening of a game
gm_puzzle()
Load a tactical puzzle
gm_check_solution()
Check a puzzle solution attempt

Visualization

gm_plot_board()
Plot a chess board
gm_plot_eval()
Plot an evaluation curve

I/O

gm_read_pgn()
Read a game from 'PGN'
gm_write_pgn()
Write a game to 'PGN'

Shiny

gm_run_app()
Launch the gambitR Shiny application