[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] Changes to eliot/game/freegame.cpp
From: |
eliot-dev |
Subject: |
[Eliot-dev] Changes to eliot/game/freegame.cpp |
Date: |
Sat, 05 Nov 2005 18:22:43 -0500 |
Index: eliot/game/freegame.cpp
diff -u eliot/game/freegame.cpp:1.13 eliot/game/freegame.cpp:1.14
--- eliot/game/freegame.cpp:1.13 Fri Nov 4 20:00:06 2005
+++ eliot/game/freegame.cpp Sat Nov 5 23:22:42 2005
@@ -65,7 +65,7 @@
/* Update the rack and the score of the current player */
m_players[m_currPlayer]->addPoints(round.getPoints());
- m_players[m_currPlayer]->endTurn(round, getNRounds());
+ m_players[m_currPlayer]->endTurn(round, getNTurns());
/* Everything is OK, we can play the word */
helperPlayRound(round);
@@ -85,7 +85,7 @@
AIPlayer *player = static_cast<AIPlayer*>(m_players[n]);
- player->compute(*m_dic, m_board, getNRounds());
+ player->compute(*m_dic, m_board, getNTurns());
if (player->changesLetters())
{
helperPass(player->getChangedLetters(), n);
@@ -96,7 +96,7 @@
const Round &round = player->getChosenRound();
/* Update the rack and the score of the current player */
player->addPoints(round.getPoints());
- player->endTurn(round, getNRounds());
+ player->endTurn(round, getNTurns());
helperPlayRound(round);
endTurn();