Skip to content

A CLI for playing chess and generating FEN strings

Notifications You must be signed in to change notification settings

lmbell89/chess-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A CLI for playing chess and generating FEN strings

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages