Moved consonant bias to config, increased slightly to 0.6.
This commit is contained in:
@@ -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() < 0.55 ? 'c' : 'v')).join('')); // a slight bias towards consonants seems to give better boards
|
||||
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
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user