Closed ericborgos closed 1 year ago
This is not a problem with command-line-chess, but with the coloring it uses as a default. But this can be changed via command-line arguments (in this case the --white
argument, see code here)
An example using !chess --white="red"
:
As a side note: pip
supports installing from a git repository through pip install git+<url-to-repository>
. Documentation can for this be found here
When I run it like !pip install cl-chess it works fine but when instead I use: git clone https://github.com/marcusbuffett/command-line-chess like you suggested (so it has the most recent version), it shows a different graphical version of the chess board. This is how it looks with pip install and this is git clone:
I only play chess IRL, not online, so maybe I am not used to how it works, but the git clone way only shows me what the AI is doing, not my own moves.
I should note that I am using Google Colab, so maybe somehow that is changing it. In case you want to try it, the Google Colab code is: !git clone https://github.com/marcusbuffett/command-line-chess %cd /content/command-line-chess !pip install . !chess