Compare commits
No commits in common. "c43be9df13c022df914b31df4213ad1556802ea5" and "77b6ebfb5c745f927833b9a1c3eb06a8b8160853" have entirely different histories.
c43be9df13
...
77b6ebfb5c
|
@ -100,7 +100,6 @@ module.exports = {
|
|||
letters: {
|
||||
length: 9,
|
||||
timeout: 60,
|
||||
consonantBias: 0.6, // for auto fill
|
||||
// http://www.thecountdownpage.com/letters.htm
|
||||
vowels: {
|
||||
a: 15,
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "schat2-clive",
|
||||
"version": "1.25.4",
|
||||
"version": "1.25.3",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "schat2-clive",
|
||||
"version": "1.25.4",
|
||||
"version": "1.25.3",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"better-sqlite3": "^8.3.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "schat2-clive",
|
||||
"version": "1.25.4",
|
||||
"version": "1.25.3",
|
||||
"description": "Game host for SChat 2-powered chat sites",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -157,7 +157,7 @@ function onCommand(args, context) {
|
|||
}
|
||||
|
||||
if (context.command === 'letsgo' || ['start', 'go', 'auto', 'random'].includes(context.subcommand)) {
|
||||
start(context, Array.from({ length: config.letters.length }, () => (Math.random() < config.letters.consonantBias ? 'c' : 'v')).join('')); // a slight bias towards consonants seems to give better boards
|
||||
start(context, Array.from({ length: config.letters.length }, () => (Math.random() < 0.55 ? 'c' : 'v')).join('')); // a slight bias towards consonants seems to give better boards
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue