marcusbuffett / command-line-chess

A python program to play chess against an AI in the terminal.
MIT License
501 stars 165 forks source link

Google Colab Problem? #54

Closed ericborgos closed 1 year ago

ericborgos commented 1 year ago

I know you don't officially support Google Colab, but I am not sure if this is a problem only with Colab or not (I don't run Python locally so I have not tried it without Colab). In Colab when I install via git clone like: !pip install git+https://github.com/marcusbuffett/command-line-chess and run it like: !chess --white="red" it does not correctly show the position of the pieces that were moved. It looks like this: Screenshot 2023-04-18 at 08-43-53 Google Colaboratory If I instead use your old version by installing it like: !pip install cl-chess it works fine, see below: Screenshot 2023-04-18 at 08-47-31 Google Colaboratory

ClasherKasten commented 1 year ago

This is a google colab problem. command-line-chess uses unicode characters for representing the pieces, so i guess colab has some problems with these. This can be seen when using the --checkered option: Screenshot_20230418_154921