summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Galvin <odg@riseup.net>2020-06-18 10:34:26 +0100
committerJohn Fultz <jfultz@wolfram.com>2020-06-18 12:19:44 -0500
commit7b3881ae11275d34512d60456ad75eb3cd977df6 (patch)
tree05f29b1c506c4d05e5cf2a2e5ea2f0dd6f140866
parent82ec129c63e8287017c9321a8a5a54e5d52a921d (diff)
A few miscellaneous typo fixes
-rw-r--r--game.h4
-rw-r--r--quacker/quacker.h2
-rw-r--r--sim.cpp2
-rw-r--r--sim.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/game.h b/game.h
index 6d68bf4..7cf5708 100644
--- a/game.h
+++ b/game.h
@@ -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);
diff --git a/sim.cpp b/sim.cpp
index 30ccc3d..8fa9cab 100644
--- a/sim.cpp
+++ b/sim.cpp
@@ -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);
diff --git a/sim.h b/sim.h
index 6c66121..0a46c89 100644
--- a/sim.h
+++ b/sim.h
@@ -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);