A terminal-based chess for 2 players written in C++