This is two player chess game implementation in C programing language.
m-MacBook-Pro:Desktop m$ gcc -o exe main.c -lm
m-MacBook-Pro:Desktop m$ ./exe
a b c d e f g h
- - - - - - - -
8|r n b q k b n r|
7|p p p p p p p p|
6| |
5| |
4| |
3| |
2|P P P P P P P P|
1|R N B Q K B N R|
White player move > a2 b3
Invalid move!
a b c d e f g h
- - - - - - - -
8|r n b q k b n r|
7|p p p p p p p p|
6| |
5| |
4| |
3| |
2|P P P P P P P P|
1|R N B Q K B N R|
White player move > a2 a3
a b c d e f g h
- - - - - - - -
8|r n b q k b n r|
7|p p p p p p p p|
6| |
5| |
4| |
3|P |
2| P P P P P P P|
1|R N B Q K B N R|
Black player move > a7 a6
a b c d e f g h
- - - - - - - -
8|r n b q k b n r|
7| p p p p p p p|
6|p |
5| |
4| |
3|P |
2| P P P P P P P|
1|R N B Q K B N R|
White player move >