import type { NormalizedCrosswordPack } from "@/types/arcade"; function letters(index: number) { return `${String.fromCharCode(65 + Math.floor(index / 26))}${String.fromCharCode(65 + (index % 26))}`; } export function crosswordTestPack(): NormalizedCrosswordPack { return { schemaVersion: 1, type: "crossword", name: "Test Crossword", settings: { allowInstantCheck: false, allowHints: true }, content: Array.from({ length: 80 }, (_, index) => ({ id: `entry-${index + 1}`, answer: `STUDY${letters(index)}WORD`, displayAnswer: `Study ${letters(index)} Word`, clue: `Test clue ${index + 1}`, alternateClue: `Alternate test clue ${index + 1}`, explanation: `Explanation ${index + 1}`, })), }; }