This program is a simple game called the Chess game, which includes two players gaming against each other. The reality of this chess is a pastime because playing chess results in better brain function, improved memory, and cognitive abilities, strategic thinking, and attention improvement. Scientists also claim that playing chess can improve mental age by up to 14 years.
Click here for a full video demo.
The program is structured using the module architecture to make the code readabiliy very easy.
---
We recommend you to use a virtual environment to install those packages for you to not get your computer overwhelmed in terms of space. you can visit this website if you would like to do so. NOte that it would not be a problem to run the program if you did not use a virtual environment.
To execute the program, run the entry-point file using the command:
python main.py
If you have multiple versions of python in your system, use the command bellow:
python3 main.py
If your system does not read the UNICODES, you can set the UNICODE global variable to False and run it with the standard characters.
We have used unittest to test the program; unittest is a unit testing python framework; it helps to write readable and scalable testing scripts for python programs.
To test this program, run the command
unittest
inside the project's root directory with your terminal/command prompt