✨✨ Work in progress ✨✨
I needed to refresh my Python knowledge. And what better than making a chess game... to play from the terminal console? 😁
Yes, made in Python and only using Numpy and Rich as third-party libraries (the only dependencies needed to run the script).
-
If you don't already have it, install the latest version of Python from the oficial website.
-
Download this repository:
-
If you like to use the terminal console:
git clone https://github.com/FedeHC/chess-on-terminal.git
-
Or just download the zip file from the current repository and unzip it in any folder.
-
-
Use a virtual enviroment (like Virtualenv) and install dependencies in cloned/unziped folder:
a) Install:
> pip install venv
b) Create virtual enviroment:
> virtualenv chess
c) Activate enviroment:
(chess)> source bin/activate
d) Install dependencies:
(chess)> pip install -r requirements.txt
-
Run the chess_on_terminal.py file:
(chess)> python3 chess_on_terminal.py
And that's it. 😃