// The defaut double tap duration. If not set, the value at the middle of the previous array is used.
DOUBLE_TAP_DURATION: 1800,
+ // The default premium for playing seven tiles on a turn
+ PREMIUM_SEVEN_TILES: 50,
// I don't like trailing commas, here is a nice message for you reading this file :-)
HAVE_FUN: true
setConf("FLASH_LIGHT_DURATIONS", [800, 1600, 3200]);
setConf("FLASH_LIGHT_DURATION", middle("FLASH_LIGHT_DURATIONS"));
setConf("FLASH_LIGHT_COLOR", "#ee6633");
+ setConf("PREMIUM_SEVEN_TILES", 50);
function getSetting(key) {
let type;
/* Check for trivabble */
if (Object.keys(currentTilePlayed).length === 7) {
- totalScore += 50;
+ totalScore += getSetting("PREMIUM_SEVEN_TILES");
}
/* Confirm score */