diff --git a/projects/projects_2021_22/Report-Belami-Nizeyimana.md b/projects/projects_2021_22/Report-Belami-Nizeyimana.md new file mode 100644 index 0000000000000000000000000000000000000000..bd6e61630af680b72162636f514c3fa3f67b3540 --- /dev/null +++ b/projects/projects_2021_22/Report-Belami-Nizeyimana.md @@ -0,0 +1,28 @@ +Open Source Contribution Project + +Author: Belami Nizeyimana + +NOMA: 26041600 + +Year: 2021 + +Selected project: command-line-chess + +# command-line-chess + +For this project I knew I wanted to contribute to an open source project related to chess game but which one ? After having searched for a long time and compared a lot of projects between them my I finally chose to contribute to **command-line-chess**. It is a python program to play chess against an AI in the terminal, it also allows us to play against a second player. + + + + +# Random move bug + +Before I started my contribution, I had already spotted a bug. Indeed, the game offers to the player the possibility to make a random move if he can't decide. He just had to enter the "r" key on the console when it's his turn to play but it didn't work. Then, my first contribution was to fix the bug. + +# Chess pieces + +The first contribution I made was to give to the different pieces of the chess game a illustration +Before, the pieces were only represented by letters, 'p' for pawns, 'K' for knights, 'R' for rooks, 'B' for bishops, 'K' for kings and 'Q' for queens. So I decided to illustrate all these pieces with their respective images. + + +"R" -> '♜', "N" -> '♞', "B" -> 'â™', "K" -> '♚', "Q" -> 'â™›', "P" -> '♟',