unlock all words

This commit is contained in:
2026-11-11 23:34:56 -05:00
parent cb493be213
commit 1108da6cf0
7 changed files with 7 additions and 14956 deletions

View File

@@ -1,5 +1,3 @@
import fs from 'node:fs';
import path from 'node:path';
import { extraWords } from './extra-words.mjs';
import { DICTIONARY_SET } from '../src/data/lexicon.js';
@@ -41,13 +39,3 @@ for (const item of targetWordsPool) {
}
console.log('Target words pool verified! Total words:', targetWordsPool.length);
// Puzzles are generated from this pool at runtime (src/engine/generator.js):
// daily puzzles are seeded by date, unlimited puzzles are random.
const puzzlesFileContent = `// Target word pool for generated Quartiles puzzles (built by scripts/build-all-data.mjs)
export const TARGET_WORDS_POOL = ${JSON.stringify(targetWordsPool, null, 2)};
`;
fs.mkdirSync('src/data', { recursive: true });
fs.writeFileSync('src/data/puzzles.js', puzzlesFileContent, 'utf8');
console.log('Saved src/data/puzzles.js successfully!');