Added rudimentary Trivia game.

This commit is contained in:
2021-11-06 01:33:52 +01:00
parent 14fb0f90bf
commit 09f1f5a14a
8 changed files with 231 additions and 5 deletions

View File

@@ -14,11 +14,16 @@ module.exports = {
uniqueUsername: true,
socket: 'ws://127.0.0.1:3000/socket',
api: 'http://127.0.0.1:3000/api',
reconnectDelay: 10, // seconds
prefix: '~',
style: {
color: 'var(--message-56)',
},
games: ['mash', 'cursed'],
channels: ['GamesNight'],
reconnectDelay: 10, // seconds
games: ['mash', 'trivia'],
trivia: {
mode: 'first', // first or timeout
rounds: 10,
timeout: 30,
},
};