A C++ tic-tac-toe game