+ /* Apply kudos from each player to the word maps, (using a set so
+ * that no word_map can get multiple kudos from a single
+ * player). */
+ for (let player of Object.keys(this.kudos)) {
+ for (let word of this.kudos[player]) {
+ const word_canon = this.canonize(word);
+ if (! word_maps[word_canon])
+ continue;
+ word_maps[word_canon].kudos.add(player);
+ }
+ }
+