Quarto game in C++