Skip to content

feat: allow engine to have an argument too#172

Merged
thomas-mauran merged 1 commit intomainfrom
feat/gnuchess-engine
Dec 16, 2025
Merged

feat: allow engine to have an argument too#172
thomas-mauran merged 1 commit intomainfrom
feat/gnuchess-engine

Conversation

@thomas-mauran
Copy link
Owner

Allow user to pass an argument as well as the chess engine path

Description

Some chess engine like gnuchess requires an argument to be runned in UCI mode.
Documentation

To fix that we wanna be able to pass on top of the path to the engine and argument as

chess-tui -e "/opt/homebrew/bin/gnuchess --uci"

Fixes #74

How Has This Been Tested?

Manually

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Signed-off-by: Thomas Mauran <thomasmauran@yahoo.com>
@thomas-mauran thomas-mauran self-assigned this Dec 16, 2025
@thomas-mauran thomas-mauran added the enhancement New feature or request label Dec 16, 2025
@thomas-mauran thomas-mauran merged commit f28e5d8 into main Dec 16, 2025
17 checks passed
@thomas-mauran thomas-mauran deleted the feat/gnuchess-engine branch December 16, 2025 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to use chess-tui with gnuchess engine?

1 participant