thomas-mauran / chess-tui

A chess TUI implementation in rust 🦀
https://crates.io/crates/chess-tui
MIT License
361 stars 20 forks source link

Feat: uci and chess engine connexion #49

Closed thomas-mauran closed 7 months ago

thomas-mauran commented 9 months ago

Add UCI support and "play against a bot"

Description

This pull requests allows the connexion of any chess engine using the UCI protocol by using the uci crate. This pull request also add a clap support allowing us to use command lines argument to interact with chess-tui, this is used with the -e command allowing us to specify the path for the chess engine binary. Clap could be use in the future to parse a fen position and start playing from there

Fixes #26 #48

How Has This Been Tested?

Checklist: