24 cells TicTacToe game in Qt