Commang line C++ grid game