Commit bed08d31 authored by Denis Kuplyakov's avatar Denis Kuplyakov

Deleted debug output that uses qDebug

parent 0bc4a3b6
......@@ -316,10 +316,9 @@ void Engine::yield()
KReversiMove Engine::computeMove(const KReversiGame& game, bool competitive)
{
if (m_computingMove) {
kDebug() << "I'm already computing move! Yours KReversi Engine.";
if (m_computingMove)
return KReversiMove();
}
m_computingMove = true;
ChipColor color;
......
......@@ -290,7 +290,6 @@ bool KReversiGame::isHintAllowed() const
void KReversiGame::blackPlayerMove(KReversiMove move)
{
qDebug() << "Game: black move";
if (move.color == White)
return; // Black can't do White moves
makeMove(move);
......@@ -298,7 +297,6 @@ void KReversiGame::blackPlayerMove(KReversiMove move)
void KReversiGame::whitePlayerMove(KReversiMove move)
{
qDebug() << "Game: white move";
if (move.color == Black)
return; // White can't do Black moves
makeMove(move);
......@@ -306,13 +304,11 @@ void KReversiGame::whitePlayerMove(KReversiMove move)
void KReversiGame::onDelayTimer()
{
qDebug() << "On Delay";
startNextTurn();
}
void KReversiGame::blackReady()
{
qDebug() << "Black ready";
m_isReady[Black] = true;
if (m_isReady[White])
m_player[Black]->takeTurn();
......@@ -320,7 +316,6 @@ void KReversiGame::blackReady()
void KReversiGame::whiteReady()
{
qDebug() << "White ready";
m_isReady[White] = true;
if (m_isReady[Black])
m_player[Black]->takeTurn();
......
......@@ -54,7 +54,6 @@ void KReversiHumanPlayer::gameOver()
void KReversiHumanPlayer::onUICellClick(KReversiPos pos)
{
qDebug() << "UI CELL CLICK!" << ' ' << m_state;
if (m_state != THINKING) {
// it is not our turn ignore it
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment