Not so good tictactoe in c++