198 lines
4.4 KiB
JavaScript
198 lines
4.4 KiB
JavaScript
// Dutch Swedish-style Crossword Puzzles Database
|
|
const DUTCH_PUZZLES = {
|
|
// Level 1 - Easy
|
|
level1: {
|
|
grid: [
|
|
['H', 'A', 'A', 'S'],
|
|
['#', '#', '#', 'T'],
|
|
['V', 'L', 'I', 'E', 'G'],
|
|
['#', '#', '#', 'S']
|
|
],
|
|
words: [
|
|
{
|
|
word: 'HAAS',
|
|
clue: 'Snel dier',
|
|
startRow: 0,
|
|
startCol: 0,
|
|
direction: 'horizontal',
|
|
answer: 'HAAS'
|
|
},
|
|
{
|
|
word: 'VLIEG',
|
|
clue: 'Insect',
|
|
startRow: 2,
|
|
startCol: 0,
|
|
direction: 'horizontal',
|
|
answer: 'VLIEG'
|
|
},
|
|
{
|
|
word: 'AT',
|
|
clue: 'Kleine woord',
|
|
startRow: 0,
|
|
startCol: 2,
|
|
direction: 'vertical',
|
|
answer: 'AT'
|
|
}
|
|
],
|
|
difficulty: 1,
|
|
rewards: { coins: 50, stars: 3, hints: 1 }
|
|
},
|
|
|
|
// Level 2 - Medium Easy
|
|
level2: {
|
|
grid: [
|
|
['B', 'O', 'M', 'E', 'N'],
|
|
['#', '#', '#', '#', 'D'],
|
|
['H', 'O', 'N', 'D', 'E'],
|
|
['#', '#', '#', '#', 'R']
|
|
],
|
|
words: [
|
|
{
|
|
word: 'BOMEN',
|
|
clue: 'Planten',
|
|
startRow: 0,
|
|
startCol: 0,
|
|
direction: 'horizontal',
|
|
answer: 'BOMEN'
|
|
},
|
|
{
|
|
word: 'HONDE',
|
|
clue: 'Huisdieren',
|
|
startRow: 2,
|
|
startCol: 0,
|
|
direction: 'horizontal',
|
|
answer: 'HONDE'
|
|
},
|
|
{
|
|
word: 'NE',
|
|
clue: 'Nee afkorting',
|
|
startRow: 0,
|
|
startCol: 4,
|
|
direction: 'vertical',
|
|
answer: 'NE'
|
|
}
|
|
],
|
|
difficulty: 2,
|
|
rewards: { coins: 75, stars: 3, hints: 1 }
|
|
},
|
|
|
|
// Level 3 - Weather Theme
|
|
level3: {
|
|
grid: [
|
|
['R', 'E', 'G', 'E', 'N'],
|
|
['#', '#', '#', '#', 'B'],
|
|
['S', 'N', 'E', 'E', 'U'],
|
|
['#', '#', '#', '#', 'W']
|
|
],
|
|
words: [
|
|
{
|
|
word: 'REGEN',
|
|
clue: 'Valt uit de lucht',
|
|
startRow: 0,
|
|
startCol: 0,
|
|
direction: 'horizontal',
|
|
answer: 'REGEN'
|
|
},
|
|
{
|
|
word: 'SNEEU',
|
|
clue: 'Witte vlokken',
|
|
startRow: 2,
|
|
startCol: 0,
|
|
direction: 'horizontal',
|
|
answer: 'SNEEU'
|
|
},
|
|
{
|
|
word: 'NB',
|
|
clue: 'Nota bene',
|
|
startRow: 0,
|
|
startCol: 4,
|
|
direction: 'vertical',
|
|
answer: 'NB'
|
|
}
|
|
],
|
|
difficulty: 3,
|
|
rewards: { coins: 100, stars: 3, hints: 1 }
|
|
},
|
|
|
|
// Daily Puzzle Template
|
|
daily: {
|
|
grid: [
|
|
['Z', 'O', 'N', 'N', 'E'],
|
|
['#', '#', '#', '#', 'D'],
|
|
['M', 'A', 'A', 'N', 'D'],
|
|
['#', '#', '#', '#', 'G']
|
|
],
|
|
words: [
|
|
{
|
|
word: 'ZONNE',
|
|
clue: 'Daglicht',
|
|
startRow: 0,
|
|
startCol: 0,
|
|
direction: 'horizontal',
|
|
answer: 'ZONNE'
|
|
},
|
|
{
|
|
word: 'MAAND',
|
|
clue: 'Tijdseenheid',
|
|
startRow: 2,
|
|
startCol: 0,
|
|
direction: 'horizontal',
|
|
answer: 'MAAND'
|
|
},
|
|
{
|
|
word: 'ND',
|
|
clue: 'Noord',
|
|
startRow: 0,
|
|
startCol: 4,
|
|
direction: 'vertical',
|
|
answer: 'ND'
|
|
}
|
|
],
|
|
difficulty: 2,
|
|
rewards: { coins: 150, stars: 5, hints: 2 },
|
|
dailyBonus: true
|
|
}
|
|
};
|
|
|
|
// Word Database for hints and validation
|
|
const DUTCH_WORD_DATABASE = {
|
|
animals: [
|
|
{ word: 'HAAS', clue: 'Snel dier' },
|
|
{ word: 'HOND', clue: 'Huisdier' },
|
|
{ word: 'KAT', clue: 'Katachtige' },
|
|
{ word: 'VLIEG', clue: 'Insect' },
|
|
{ word: 'VIS', clue: 'Zwemt in water' },
|
|
{ word: 'MUIS', clue: 'Klein dier' },
|
|
{ word: 'PAARD', clue: 'Rijdier' },
|
|
{ word: 'KIP', clue: 'Legt eieren' },
|
|
{ word: 'EEL', clue: 'Lang dier' }
|
|
],
|
|
nature: [
|
|
{ word: 'BOMEN', clue: 'Planten' },
|
|
{ word: 'REGEN', clue: 'Valt uit de lucht' },
|
|
{ word: 'SNEEU', clue: 'Witte vlokken' },
|
|
{ word: 'DONDER', clue: 'Weer verschijnsel' },
|
|
{ word: 'BLIKSEM', clue: 'Lichtflits' },
|
|
{ word: 'MAAND', clue: 'Satelliet' },
|
|
{ word: 'STER', clue: 'Hemellichaam' },
|
|
{ word: 'WOLK', clue: 'Watten in lucht' },
|
|
{ word: 'WIND', clue: 'Luchtbeweging' },
|
|
{ word: 'ZON', clue: 'Ster' }
|
|
],
|
|
common: [
|
|
{ word: 'AT', clue: 'Kleine woord' },
|
|
{ word: 'NE', clue: 'Nee afkorting' },
|
|
{ word: 'NB', clue: 'Nota bene' },
|
|
{ word: 'ND', clue: 'Noord' },
|
|
{ word: 'EN', clue: 'En' },
|
|
{ word: 'ER', clue: 'Er' },
|
|
{ word: 'IN', clue: 'In' },
|
|
{ word: 'OP', clue: 'Op' }
|
|
]
|
|
};
|
|
|
|
// Export for use in game logic
|
|
if (typeof module !== 'undefined' && module.exports) {
|
|
module.exports = { DUTCH_PUZZLES, DUTCH_WORD_DATABASE };
|
|
}
|