diff --git a/game/history.cpp b/game/history.cpp index 71b7b41..d34a56a 100644 --- a/game/history.cpp +++ b/game/history.cpp @@ -90,7 +90,11 @@ const Turn& History::getTurn(unsigned int n) const return *(m_history[n]); } - +/* + * This function increments the number of racks, and fills the new rack + * with the unplayed tiles from the previous one. + * 03 sept 2000 : We have to sort the tiles according to the new rules + */ void History::playRound(int player, int turn, const Round& round) { Rack rack; diff --git a/game/history.h b/game/history.h index a691b0a..00d5c07 100644 --- a/game/history.h +++ b/game/history.h @@ -40,7 +40,9 @@ class Round; * - one for each of the players * * A History is never empty (getSize() can be used as the is the current turn - * number for the complete game history). The top of the history is an empty + * number for the complete game history). + * + * The top of the history is an empty * Turn until it has been filled and game is up to a new round. * * getCurrentRack() can/should be used to store the current played rack.