This repository has been archived on 2025-12-16. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
word/tablet/puzzleData.js
2025-12-16 21:03:01 +01:00

245 lines
6.9 KiB
JavaScript

// Level 4 - 9x8 (Nature & Daily Words)
const level1 = {
grid: [
['B','O','M','E','N','#','Z','O','N'],
['H','A','A','S','#','D','O','R','P'],
['H','O','N','D','#','O','P','E','N'],
['W','I','N','D','#','N','E','S','T'],
['W','O','L','K','#','D','U','I','F'],
['S','T','E','R','#','E','E','N','D'],
['M','A','A','N','#','R','E','U','S'],
['R','E','G','E','N','#','V','I','S']
],
words: [
// horizontaal
{ word: 'BOMEN', clue: 'Planten', startRow: 0, startCol: 0, direction: 'horizontal', answer: 'BOMEN' },
{ word: 'ZON', clue: 'Ster aan de hemel', startRow: 0, startCol: 6, direction: 'horizontal', answer: 'ZON' },
{ word: 'HAAS', clue: 'Snel dier', startRow: 1, startCol: 0, direction: 'horizontal', answer: 'HAAS' },
{ word: 'DORP', clue: 'Kleine plaats', startRow: 1, startCol: 5, direction: 'horizontal', answer: 'DORP' },
{ word: 'HOND', clue: 'Huisdier', startRow: 2, startCol: 0, direction: 'horizontal', answer: 'HOND' },
{ word: 'OPEN', clue: 'Niet dicht', startRow: 2, startCol: 5, direction: 'horizontal', answer: 'OPEN' },
{ word: 'WIND', clue: 'Luchtbeweging', startRow: 3, startCol: 0, direction: 'horizontal', answer: 'WIND' },
{ word: 'NEST', clue: 'Thuis van een vogel', startRow: 3, startCol: 5, direction: 'horizontal', answer: 'NEST' },
{ word: 'WOLK', clue: 'In de lucht', startRow: 4, startCol: 0, direction: 'horizontal', answer: 'WOLK' },
{ word: 'DUIF', clue: 'Stadsvogel', startRow: 4, startCol: 5, direction: 'horizontal', answer: 'DUIF' },
{ word: 'STER', clue: 'Hemellichaam', startRow: 5, startCol: 0, direction: 'horizontal', answer: 'STER' },
{ word: 'EEND', clue: 'Watervogel', startRow: 5, startCol: 5, direction: 'horizontal', answer: 'EEND' },
{ word: 'MAAN', clue: 'Nachthemel', startRow: 6, startCol: 0, direction: 'horizontal', answer: 'MAAN' },
{ word: 'REUS', clue: 'Gigant', startRow: 6, startCol: 5, direction: 'horizontal', answer: 'REUS' },
{ word: 'REGEN', clue: 'Valt uit de lucht', startRow: 7, startCol: 0, direction: 'horizontal', answer: 'REGEN' },
{ word: 'VIS', clue: 'Zwemt in water', startRow: 7, startCol: 6, direction: 'horizontal', answer: 'VIS' },
// verticaal (spine)
{ word: 'DONDER', clue: 'Weerverschijnsel', startRow: 1, startCol: 5, direction: 'vertical', answer: 'DONDER' }
],
difficulty: 3,
rewards: { coins: 125, stars: 4, hints: 1 }
};
// Dutch Swedish-style Crossword Puzzles Database
const DUTCH_PUZZLES = {
// Level 1 - Easy
level1,
level0: {
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 };
}