-
Choose a name and USE THE SAME in every file.
-
Add the solutions array to the words object at:
src\assets\solutions.ts
- Example:
{ EN: [], ES: [], CUSTOM: ['FOO', 'BAR'] }
- Words should be in UPPERCASE!
- Example:
-
Add the validation words array to:
src\assets\validation.ts
- Same as above. This words won't be solutions but are valid input.
- Add the language to
src\assets\languages.json
to use the following options... - For a custom flag add the image URL to the flag field (aspect ratio 4:3):
- Example:
"CUSTOM": { "flag": "url/image.svg" }
- Example:
- Change keyboard letters:
"CUSTOM": { "letters": "ABC DEF" }
- Use a space to define a new letters row.
- Change how many attempts are available:
"CUSTOM": { "attempts": 3 }
- Add custom translation to the game texts in:
src\assets\translation.json