2020-04-15 22:15:03 +02:00
|
|
|
// This is a sample config file. Copy to config.js if you need to fiddle with the
|
|
|
|
// configuration of the client.
|
|
|
|
|
|
|
|
window.TrivabbleConf = {
|
|
|
|
// The amount of time to wait after a connection failure
|
2021-04-20 08:31:22 +02:00
|
|
|
//POLLING_DELAY: 2000,
|
2020-04-15 22:15:03 +02:00
|
|
|
|
|
|
|
// Whether WebSockets should be used, if possible
|
2021-04-20 08:31:22 +02:00
|
|
|
//ENABLE_WEBSOCKETS: true,
|
2020-04-15 22:15:03 +02:00
|
|
|
|
|
|
|
// Whether Server Sent Events should be used, if available
|
2021-04-20 08:31:22 +02:00
|
|
|
//ENABLE_EVENT_SOURCE: true,
|
2020-04-15 22:15:03 +02:00
|
|
|
|
|
|
|
// Max consecutive tries before blacklisting WebSockets for the current session
|
2021-04-20 08:31:22 +02:00
|
|
|
//MAX_WEBSOCKET_ERRORS: 1,
|
2020-04-15 22:15:03 +02:00
|
|
|
|
2020-10-03 11:18:24 +02:00
|
|
|
// To tweak only if your webserver is shared with other conflicting resources at / (e.g. Yunohost integration)
|
2021-04-20 08:31:22 +02:00
|
|
|
//APP_PATH: "",
|
2020-04-27 19:44:49 +02:00
|
|
|
|
2020-11-14 11:02:50 +01:00
|
|
|
// The API entry point. Default value: APP_PATH + '/:trivabble'
|
2021-04-20 08:31:22 +02:00
|
|
|
//API_ENTRY_POINT: "/:trivabble",
|
2020-11-14 11:02:50 +01:00
|
|
|
|
2021-04-20 08:31:22 +02:00
|
|
|
// Wether sounds should be played when receiving messages
|
|
|
|
//ENABLE_MSG_SOUND: true,
|
2020-10-03 11:18:24 +02:00
|
|
|
|
2021-04-20 08:31:22 +02:00
|
|
|
// Wether sounds should be played when moving tiles
|
|
|
|
//ENABLE_TILE_SOUND: true,
|
2020-10-03 11:18:24 +02:00
|
|
|
|
|
|
|
// The list of durations used to detect a double tap available in the settings box
|
2021-04-20 08:31:22 +02:00
|
|
|
//DOUBLE_TAP_DURATIONS: [650, 1100, 1800, 3000, 5000],
|
2020-10-03 11:18:24 +02:00
|
|
|
|
|
|
|
// The defaut double tap duration. If not set, the value at the middle of the previous array is used.
|
2021-04-20 08:31:22 +02:00
|
|
|
//DOUBLE_TAP_DURATION: 1800,
|
|
|
|
|
|
|
|
// The color of the flash light when double clicking on a cell
|
|
|
|
//FLASH_LIGHT_COLOR: "#EE6633",
|
|
|
|
|
|
|
|
// The list of durations of the flash light available in the settings box
|
|
|
|
//FLASH_LIGHT_DURATIONS: [800, 1600, 3200],
|
|
|
|
|
|
|
|
// The defaut flash light duration. If not set, the value at the middle of the previous array is used.
|
|
|
|
//FLASH_LIGHT_DURATION: 1600,
|
2020-10-03 11:18:24 +02:00
|
|
|
|
2020-10-23 21:40:16 +02:00
|
|
|
// The default premium for playing seven tiles on a turn
|
2021-04-20 08:31:22 +02:00
|
|
|
//PREMIUM_SEVEN_TILES: 50,
|
2020-10-03 11:18:24 +02:00
|
|
|
|
2020-11-23 22:44:24 +01:00
|
|
|
// Score is automically affected to last player. If false, score is automatically affected to the player who pressed the Score button
|
2021-04-20 08:31:22 +02:00
|
|
|
//SCORE_LAST_PLAYER: true,
|
2020-11-23 22:44:24 +01:00
|
|
|
|
2020-12-08 21:37:47 +01:00
|
|
|
// Timer activation
|
2021-04-20 08:31:22 +02:00
|
|
|
//ENABLE_TIMER: false,
|
2020-12-08 21:37:47 +01:00
|
|
|
|
2020-12-28 11:29:53 +01:00
|
|
|
// Cell captions. Could be "clip", "dots", "none" or "short"
|
2021-04-20 08:31:22 +02:00
|
|
|
//CELL_CAPTIONS: "dots",
|
2020-12-28 11:29:53 +01:00
|
|
|
|
2021-04-26 21:59:18 +02:00
|
|
|
// Enable custom board definitions
|
|
|
|
//ENABLE_CUSTOM_BOARD: false,
|
|
|
|
|
2020-04-15 22:15:03 +02:00
|
|
|
// I don't like trailing commas, here is a nice message for you reading this file :-)
|
|
|
|
HAVE_FUN: true
|
|
|
|
};
|