diff options
author | Oliver Galvin <odg@riseup.net> | 2020-06-18 10:34:26 +0100 |
---|---|---|
committer | John Fultz <jfultz@wolfram.com> | 2020-06-18 12:19:44 -0500 |
commit | 7b3881ae11275d34512d60456ad75eb3cd977df6 (patch) | |
tree | 05f29b1c506c4d05e5cf2a2e5ea2f0dd6f140866 | |
parent | 82ec129c63e8287017c9321a8a5a54e5d52a921d (diff) |
A few miscellaneous typo fixes
-rw-r--r-- | game.h | 4 | ||||
-rw-r--r-- | quacker/quacker.h | 2 | ||||
-rw-r--r-- | sim.cpp | 2 | ||||
-rw-r--r-- | sim.h | 2 |
4 files changed, 5 insertions, 5 deletions
@@ -296,7 +296,7 @@ public: // the move made will // be set to the proper UnusedTilesBonus move. // The score of the bonus is *not* added to score of current player, - // therefor this method is quite misnamed. + // therefore this method is quite misnamed. void adjustScoresToFinishGame(); // this is a little special: don't subtract score of bonus from @@ -824,7 +824,7 @@ public: // If the game is over, does nothing. void commitCandidate(bool maintainBoard = true); - // convience to set move as candidate and then commit the candidate + // convenience to set move as candidate and then commit the candidate void commitMove(const Move &move); const UVString &description() const; diff --git a/quacker/quacker.h b/quacker/quacker.h index b56b91b..c33de29 100644 --- a/quacker/quacker.h +++ b/quacker/quacker.h @@ -174,7 +174,7 @@ protected slots: // handle an overdraw void overdraw(); - void statusMessage(const QString &mesage); + void statusMessage(const QString &message); // set game's candidate to move and update views void setCandidateMove(const Quackle::Move &move, bool *carryOnPtr = nullptr); @@ -428,7 +428,7 @@ void Simulator::simulateOnePosition(SimmedMoveMessage &message, const SimmedMove residual -= residualAddend; } - // commiting the move will account for deadwood again + // committing the move will account for deadwood again // so avoid double counting from above. move.score -= deadwoodScore; game.setCandidate(move); @@ -311,7 +311,7 @@ public: void simulate(int plies); static void simulateOnePosition(SimmedMoveMessage &message, const SimmedMoveConstants &constants); - // Incoporate the results of a single simulation into the + // Incorporate the results of a single simulation into the // cumulative results void incorporateMessage(const SimmedMoveMessage &message); |