Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.05 KB

README.md

File metadata and controls

25 lines (18 loc) · 1.05 KB

Chess CLI

A command line interface for playing chess and generating FEN strings

Prerequisites

None. This project is compiled as a plug and play .exe file. Database access is not required

The .exe file is available from the dist folder or from https://liambell.info/files/chess-cli.exe

Commands

The following commands are available when running the app:

  • help: prints a list of the available commands (as shown below)
  • load_position: Provide a FEN to load a game from that position
  • make_move: Make a move. Provide the move in uci format e.g. e2e4 d7d8q
  • print_board: Print a representation of the board. Dots are empty squares, capital letters are white pieces
  • print_fen: Print the FEN for the current position in the game
  • print_move_notation: Print the algebraic notation for a move in uci format. This does not actually make the move
  • print_game_state: Prints whether the game is checkmate, stalemate, or else which colour is next to move