Commit 805775ce authored by Radia EL HAMDOUNI's avatar Radia EL HAMDOUNI

Update README.txt

parent 99ee1bcf
......@@ -41,7 +41,35 @@ This is a project that is part of the MLOD UV.
* https://en.wikipedia.org/wiki/Algebraic_notation_(chess)
-----------------------------------------------------------------------------------------------------------
/******************************************************************************************************\
; ;
; To compile the file use the command : ;
; ;
; ;
; $ gcc chess_engine.c -o chess_engine ;
; - To run the executable , call the name of the file : ;
; $ chess_engine ;
; - To both compile and run the executable in the terminal : ;
; $ gcc chess_engine.c -o chess_engine && ./chess_engine ;
; -------------------------------------------------------------------------------------------- ;
; + The goal is to program the computer to play chess against a user or against itself ;
; ;
; ;
; ;
/*****************************************************************************************************/
/******************************************************************************************************\
; ;
; +- To move a piece : ;
; first empty the square. Example ==> board[e2]=e; ;
; then move the pieces . Example ==> board[e4] = P; ;
; ;
; ;
/*****************************************************************************************************/
----------------------------------------------------------------------------------------------------------
- Chess board representation :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment