Letter letter = language.getLetter(symbol);
if (trayCopy.remove(symbol)) {
// we place a matching tile
tilesTakenFromTray++;
word.getTiles().add(new Tile(letter));
Booster booster = square.getBooster();
letterValue = letter.getValue();
if (booster != null) {
letterValue = letterValue * booster.letterFactor();
wordFactor = wordFactor * booster.wordFactor();
}
} else if (trayCopy.remove(Language.BLANK)) {
// we place a blank tile
tilesTakenFromTray++;
word.getTiles().add(new Tile(new AppliedBlank(letter)));