127
185
qDebug() << (qPrintable(QString("noughtsandcrosses move to space %1").arg(space)));
132
void NoughtsAndCrossesPlugin::startGame(QString jid, int size, bool meFirst, const PsiAccount* account)
191
void NoughtsAndCrossesPlugin::startGame(QString jid, int size, bool meFirst, int account)
134
193
game = new TicTacToe( meFirst, size );
135
194
game->setCaption(QString("Noughts and Crosses with %1").arg(jid));
139
198
connect(game, SIGNAL(closing()), this, SLOT(stopGame()));
140
199
connect(game, SIGNAL(myMove(int)), this, SLOT(myTurn(int)));
141
200
connect(game, SIGNAL(gameOverSignal(TicTacGameBoard::State)), this, SLOT(gameOver(TicTacGameBoard::State)));