From e8568e715f035d0bca14d44da160543de038269c Mon Sep 17 00:00:00 2001 From: Aidan Pine Date: Wed, 6 Mar 2024 14:51:45 -0800 Subject: [PATCH] feat: change default colours to purple and orange change default number of tries to 7 and word length to 6. remove all mention of wordle --- package-lock.json | 40 ++++-- public/locales/es/translation.json | 197 +++++++++++++------------ public/locales/sw/translation.json | 199 +++++++++++++------------- public/locales/zh/translation.json | 191 ++++++++++++------------ src/components/grid/Cell.tsx | 4 +- src/components/keyboard/Key.tsx | 4 +- src/components/mini-grid/MiniCell.tsx | 4 +- src/constants/config.ts | 4 +- 8 files changed, 327 insertions(+), 316 deletions(-) diff --git a/package-lock.json b/package-lock.json index 08888a00a2..2fe8a209e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5449,7 +5449,8 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [{ + "funding": [ + { "type": "github", "url": "https://github.com/sponsors/feross" }, @@ -6293,10 +6294,12 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==", - "funding": [{ - "type": "github", - "url": "https://github.com/sponsors/fb55" - }] + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ] }, "node_modules/domexception": { "version": "2.0.1", @@ -7395,7 +7398,8 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [{ + "funding": [ + { "type": "github", "url": "https://github.com/sponsors/feross" }, @@ -7642,10 +7646,12 @@ "version": "1.14.6", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.6.tgz", "integrity": "sha512-fhUl5EwSJbbl8AR+uYL2KQDxLkdSjZGR36xy46AO7cOMTrCMON6Sa28FmAnC2tRTDbd/Uuzz3aJBv7EBN7JH8A==", - "funding": [{ - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - }], + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], "engines": { "node": ">=4.0" }, @@ -8483,7 +8489,8 @@ "version": "21.6.11", "resolved": "https://registry.npmjs.org/i18next/-/i18next-21.6.11.tgz", "integrity": "sha512-tJ2+o0lVO+fhi8bPkCpBAeY1SgkqmQm5NzgPWCQssBrywJw98/o+Kombhty5nxQOpHtvMmsxcOopczUiH6bJxQ==", - "funding": [{ + "funding": [ + { "type": "individual", "url": "https://locize.com" }, @@ -13510,7 +13517,8 @@ "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "funding": [{ + "funding": [ + { "type": "github", "url": "https://github.com/sponsors/feross" }, @@ -14292,7 +14300,8 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "funding": [{ + "funding": [ + { "type": "github", "url": "https://github.com/sponsors/feross" }, @@ -14823,7 +14832,8 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [{ + "funding": [ + { "type": "github", "url": "https://github.com/sponsors/feross" }, @@ -28817,4 +28827,4 @@ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==" } } -} \ No newline at end of file +} diff --git a/public/locales/es/translation.json b/public/locales/es/translation.json index 881d760bf4..aa912b6d38 100644 --- a/public/locales/es/translation.json +++ b/public/locales/es/translation.json @@ -1,102 +1,101 @@ { - "about": "Acerca de este juego", - "gameName": "No Wordle - {{language}}", - "enterKey": "Enviar", - "deleteKey": "Eliminar", - "notEnoughLetters": "No hay suficientes letras", - "wordNotFound": "Palabra no encontrada", - "solution": "La palabra era {{solution}}", - "gameCopied": "Juego copiado al portapapeles", - "howToPlay": "Cómo jugar", - "instructions": "Adivina la palabra en {{tries}} intentos. Después de cada intento, el color de las letras cambiará para mostrar qué tan cerca estás de acertar la palabra.", - "pickYourLanguage": "Elige un idioma", - "correctSpotInstructions": "La letra T se encuentra en la palabra y está en la posición correcta.", - "wrongSpotInstructions": "La letra N se encuentra en la palabra pero en la posición incorrecta.", - "notInWordInstructions": "La letra O no se encuentra en la palabra.", - "guessDistribution": "Distribución de aciertos", - "statistics": "Estadísticas", - "totalTries": "Jugadas", - "successRate": "Victorias", - "currentStreak": "Racha actual", - "bestStreak": "Mejor racha", - "newWordCountdown": "Nueva palabra en", - "share": "Compartir", - "winMessages": [ - "¡Gran trabajo!", - "Increíble", - "¡Bien hecho!" - ], - "firstExampleWord": [{ - "letter": "T", - "highlight": true - }, - { - "letter": "R", - "highlight": false - }, - { - "letter": "A", - "highlight": false - }, - { - "letter": "M", - "highlight": false - }, - { - "letter": "O", - "highlight": false - } - ], - "secondExampleWord": [{ - "letter": "G", - "highlight": false - }, - { - "letter": "A", - "highlight": false - }, - { - "letter": "N", - "highlight": true - }, - { - "letter": "A", - "highlight": false - }, - { - "letter": "S", - "highlight": false - } - ], - "thirdExampleWord": [{ - "letter": "R", - "highlight": false - }, - { - "letter": "E", - "highlight": false - }, - { - "letter": "T", - "highlight": false - }, - { - "letter": "O", - "highlight": true - }, - { - "letter": "S", - "highlight": false - } - ], - "aboutAuthorSentence": "Este es un clon de código abierto del juego Wordle adaptado a {{language}} por <3>{{author}}. ", - "aboutCodeSentence": "Echa un vistazo al <1>código original de <3>Hannah Park o echa un vistazo al <5>fork de Aidan Pine y personalízalo para otro idioma. ", - "aboutDataSentence": "Las palabras para este juego se obtuvieron de <1>{{wordListSource}}. ", - "aboutOriginalSentence": "También puedes jugar la original <1>aquí", - "languages": { - "en": "English", - "es": "Español", - "sw": "Kiswahili", - "zh": "中文" + "about": "Acerca de este juego", + "gameName": "No Word-Guessing-Game - {{language}}", + "enterKey": "Enviar", + "deleteKey": "Eliminar", + "notEnoughLetters": "No hay suficientes letras", + "wordNotFound": "Palabra no encontrada", + "solution": "La palabra era {{solution}}", + "gameCopied": "Juego copiado al portapapeles", + "howToPlay": "Cómo jugar", + "instructions": "Adivina la palabra en {{tries}} intentos. Después de cada intento, el color de las letras cambiará para mostrar qué tan cerca estás de acertar la palabra.", + "pickYourLanguage": "Elige un idioma", + "correctSpotInstructions": "La letra T se encuentra en la palabra y está en la posición correcta.", + "wrongSpotInstructions": "La letra N se encuentra en la palabra pero en la posición incorrecta.", + "notInWordInstructions": "La letra O no se encuentra en la palabra.", + "guessDistribution": "Distribución de aciertos", + "statistics": "Estadísticas", + "totalTries": "Jugadas", + "successRate": "Victorias", + "currentStreak": "Racha actual", + "bestStreak": "Mejor racha", + "newWordCountdown": "Nueva palabra en", + "share": "Compartir", + "winMessages": ["¡Gran trabajo!", "Increíble", "¡Bien hecho!"], + "firstExampleWord": [ + { + "letter": "T", + "highlight": true + }, + { + "letter": "R", + "highlight": false + }, + { + "letter": "A", + "highlight": false + }, + { + "letter": "M", + "highlight": false + }, + { + "letter": "O", + "highlight": false } + ], + "secondExampleWord": [ + { + "letter": "G", + "highlight": false + }, + { + "letter": "A", + "highlight": false + }, + { + "letter": "N", + "highlight": true + }, + { + "letter": "A", + "highlight": false + }, + { + "letter": "S", + "highlight": false + } + ], + "thirdExampleWord": [ + { + "letter": "R", + "highlight": false + }, + { + "letter": "E", + "highlight": false + }, + { + "letter": "T", + "highlight": false + }, + { + "letter": "O", + "highlight": true + }, + { + "letter": "S", + "highlight": false + } + ], + "aboutAuthorSentence": "Este es un clon de código abierto del juego Word-Guessing-Game adaptado a {{language}} por <3>{{author}}. ", + "aboutCodeSentence": "Echa un vistazo al <1>código original de <3>Hannah Park o echa un vistazo al <5>fork de Aidan Pine y personalízalo para otro idioma. ", + "aboutDataSentence": "Las palabras para este juego se obtuvieron de <1>{{wordListSource}}. ", + "aboutOriginalSentence": "También puedes jugar la original <1>aquí", + "languages": { + "en": "English", + "es": "Español", + "sw": "Kiswahili", + "zh": "中文" + } } diff --git a/public/locales/sw/translation.json b/public/locales/sw/translation.json index 42352d46b4..afc4c2ac6a 100644 --- a/public/locales/sw/translation.json +++ b/public/locales/sw/translation.json @@ -1,102 +1,101 @@ { - "about": "Habari ya mchezo huu", - "gameName": "Si Wordle - {{language}}", - "enterKey": "Ingiza", - "deleteKey": "Futa", - "notEnoughLetters": "Herufi ni ndogo", - "wordNotFound": "Neno haionekani", - "solution": "Neno ni {{solution}}", - "gameCopied": "Umenakili mchezo", - "howToPlay": "Elezo za kucheza", - "instructions": "Bahitisha neno kwa mara {{tries}}. Baada ya bahitisho, rangi wa mraba itageuza kuonekana kama bahitisho iko karibu na neno sahihi.", - "pickYourLanguage": "Chagua lugha", - "correctSpotInstructions": "Herufi M iko kwa neno, na iko pahali sahihi.", - "wrongSpotInstructions": "Herufi U iko kwa neno, lakini pahali si sahihi.", - "notInWordInstructions": "Herufi U haiko kwa neno, pahali yoyote.", - "guessDistribution": "Usambazaji wa kubahatisha", - "statistics": "Takwimu", - "totalTries": "Mara ya kujaribu", - "successRate": "Kiwango ya kushinda", - "currentStreak": "Mara ya kushinda moja kwa moja", - "bestStreak": "Mara bora ya kushinda moja kwa moja", - "newWordCountdown": "Mchezo mpya kwa", - "share": "Gawana", - "winMessages": [ - "Hongera!", - "Makofi", - "Pongezi!" - ], - "firstExampleWord": [{ - "letter": "M", - "highlight": true - }, - { - "letter": "B", - "highlight": false - }, - { - "letter": "I", - "highlight": false - }, - { - "letter": "L", - "highlight": false - }, - { - "letter": "I", - "highlight": false - } - ], - "secondExampleWord": [{ - "letter": "M", - "highlight": false - }, - { - "letter": "B", - "highlight": false - }, - { - "letter": "U", - "highlight": true - }, - { - "letter": "Z", - "highlight": false - }, - { - "letter": "I", - "highlight": false - } - ], - "thirdExampleWord": [{ - "letter": "G", - "highlight": false - }, - { - "letter": "E", - "highlight": false - }, - { - "letter": "U", - "highlight": true - }, - { - "letter": "Z", - "highlight": false - }, - { - "letter": "A", - "highlight": false - } - ], - "aboutAuthorSentence": "Programmu hii ni toleo huru na wazi wa mchezo Wordle, imetafsiri kwa {{language}} ni <3>{{author}}. ", - "aboutCodeSentence": "Angalia <1>programmu ya kwanza iliandikwa ni <3>Hannah Park au angalia <5>mageuzi ya Aidan Pine na ongeza lugha ingine! ", - "aboutDataSentence": "Neno za mchezo huu zilitoa kutoka <1>{{wordListSource}}. ", - "aboutOriginalSentence": "Unaweza kucheza mchezo awali <1>hapa", - "languages": { - "en": "English", - "es": "Español", - "sw": "Kiswahili", - "zh": "中文" + "about": "Habari ya mchezo huu", + "gameName": "Si Word-Guessing-Game - {{language}}", + "enterKey": "Ingiza", + "deleteKey": "Futa", + "notEnoughLetters": "Herufi ni ndogo", + "wordNotFound": "Neno haionekani", + "solution": "Neno ni {{solution}}", + "gameCopied": "Umenakili mchezo", + "howToPlay": "Elezo za kucheza", + "instructions": "Bahitisha neno kwa mara {{tries}}. Baada ya bahitisho, rangi wa mraba itageuza kuonekana kama bahitisho iko karibu na neno sahihi.", + "pickYourLanguage": "Chagua lugha", + "correctSpotInstructions": "Herufi M iko kwa neno, na iko pahali sahihi.", + "wrongSpotInstructions": "Herufi U iko kwa neno, lakini pahali si sahihi.", + "notInWordInstructions": "Herufi U haiko kwa neno, pahali yoyote.", + "guessDistribution": "Usambazaji wa kubahatisha", + "statistics": "Takwimu", + "totalTries": "Mara ya kujaribu", + "successRate": "Kiwango ya kushinda", + "currentStreak": "Mara ya kushinda moja kwa moja", + "bestStreak": "Mara bora ya kushinda moja kwa moja", + "newWordCountdown": "Mchezo mpya kwa", + "share": "Gawana", + "winMessages": ["Hongera!", "Makofi", "Pongezi!"], + "firstExampleWord": [ + { + "letter": "M", + "highlight": true + }, + { + "letter": "B", + "highlight": false + }, + { + "letter": "I", + "highlight": false + }, + { + "letter": "L", + "highlight": false + }, + { + "letter": "I", + "highlight": false } -} \ No newline at end of file + ], + "secondExampleWord": [ + { + "letter": "M", + "highlight": false + }, + { + "letter": "B", + "highlight": false + }, + { + "letter": "U", + "highlight": true + }, + { + "letter": "Z", + "highlight": false + }, + { + "letter": "I", + "highlight": false + } + ], + "thirdExampleWord": [ + { + "letter": "G", + "highlight": false + }, + { + "letter": "E", + "highlight": false + }, + { + "letter": "U", + "highlight": true + }, + { + "letter": "Z", + "highlight": false + }, + { + "letter": "A", + "highlight": false + } + ], + "aboutAuthorSentence": "Programmu hii ni toleo huru na wazi wa mchezo Word-Guessing-Game, imetafsiri kwa {{language}} ni <3>{{author}}. ", + "aboutCodeSentence": "Angalia <1>programmu ya kwanza iliandikwa ni <3>Hannah Park au angalia <5>mageuzi ya Aidan Pine na ongeza lugha ingine! ", + "aboutDataSentence": "Neno za mchezo huu zilitoa kutoka <1>{{wordListSource}}. ", + "aboutOriginalSentence": "Unaweza kucheza mchezo awali <1>hapa", + "languages": { + "en": "English", + "es": "Español", + "sw": "Kiswahili", + "zh": "中文" + } +} diff --git a/public/locales/zh/translation.json b/public/locales/zh/translation.json index 604a70991b..117bebbdf5 100644 --- a/public/locales/zh/translation.json +++ b/public/locales/zh/translation.json @@ -1,97 +1,100 @@ { - "about": "關於本遊戲", - "gameName": "No Wordle - {{language}}", - "enterKey": "輸入", - "deleteKey": "刪除", - "notEnoughLetters": "字母數不足", - "wordNotFound": "查無此單詞", - "solution": "正解為 {{solution}}", - "gameCopied": "已將您的輝煌戰績複製至剪貼簿,開始分享吧!", - "howToPlay": "遊戲規則", - "instructions": "您總共有 {{tries}} 次猜測單詞的機會。每輸入一個單詞,方塊將會改變顏色,透過顏色的變化您將能推測正解。", - "pickYourLanguage": "選擇語言", - "correctSpotInstructions": "字母 W 出現在正解當中,並且在正確的位置。", - "wrongSpotInstructions": "字母 L 出現在正解當中,但不在正確的位置。", - "notInWordInstructions": "字母 U 不在正解當中。", - "guessDistribution": "猜詞分佈", - "statistics": "統計", - "totalTries": "總猜測次數", - "successRate": "成功率", - "currentStreak": "當前連續獲勝次數", - "bestStreak": "最佳連續獲勝次數", - "newWordCountdown": "距離下個新單詞出現還有", - "share": "分享", - "firstExampleWord": [{ - "letter": "W", - "highlight": true - }, - { - "letter": "E", - "highlight": false - }, - { - "letter": "A", - "highlight": false - }, - { - "letter": "R", - "highlight": false - }, - { - "letter": "Y", - "highlight": false - } - ], - "secondExampleWord": [{ - "letter": "P", - "highlight": false - }, - { - "letter": "I", - "highlight": false - }, - { - "letter": "L", - "highlight": true - }, - { - "letter": "O", - "highlight": false - }, - { - "letter": "T", - "highlight": false - } - ], - "thirdExampleWord": [{ - "letter": "V", - "highlight": false - }, - { - "letter": "A", - "highlight": false - }, - { - "letter": "G", - "highlight": false - }, - { - "letter": "U", - "highlight": true - }, - { - "letter": "E", - "highlight": false - } - ], - "aboutAuthorSentence": "本遊戲源自 Wordle 開源專案,由<3>{{author}}改編為排灣語版本。", - "aboutCodeSentence": "原專案作者為<3>Hannah Park,原始碼在<1>the original code。本遊戲的開發依據為<5>Aidan Pine's fork。", - "aboutDataSentence": "本遊戲的單詞來源為 <1>{{wordListSource}}。", - "aboutOriginalSentence": "您也可以前往 <1>here 玩一玩原版的 Wordle 喔!", - "languages": { - "en": "English", - "es": "Español", - "sw": "Kiswahili", - "zh": "中文" + "about": "關於本遊戲", + "gameName": "No Word-Guessing-Game - {{language}}", + "enterKey": "輸入", + "deleteKey": "刪除", + "notEnoughLetters": "字母數不足", + "wordNotFound": "查無此單詞", + "solution": "正解為 {{solution}}", + "gameCopied": "已將您的輝煌戰績複製至剪貼簿,開始分享吧!", + "howToPlay": "遊戲規則", + "instructions": "您總共有 {{tries}} 次猜測單詞的機會。每輸入一個單詞,方塊將會改變顏色,透過顏色的變化您將能推測正解。", + "pickYourLanguage": "選擇語言", + "correctSpotInstructions": "字母 W 出現在正解當中,並且在正確的位置。", + "wrongSpotInstructions": "字母 L 出現在正解當中,但不在正確的位置。", + "notInWordInstructions": "字母 U 不在正解當中。", + "guessDistribution": "猜詞分佈", + "statistics": "統計", + "totalTries": "總猜測次數", + "successRate": "成功率", + "currentStreak": "當前連續獲勝次數", + "bestStreak": "最佳連續獲勝次數", + "newWordCountdown": "距離下個新單詞出現還有", + "share": "分享", + "firstExampleWord": [ + { + "letter": "W", + "highlight": true + }, + { + "letter": "E", + "highlight": false + }, + { + "letter": "A", + "highlight": false + }, + { + "letter": "R", + "highlight": false + }, + { + "letter": "Y", + "highlight": false } + ], + "secondExampleWord": [ + { + "letter": "P", + "highlight": false + }, + { + "letter": "I", + "highlight": false + }, + { + "letter": "L", + "highlight": true + }, + { + "letter": "O", + "highlight": false + }, + { + "letter": "T", + "highlight": false + } + ], + "thirdExampleWord": [ + { + "letter": "V", + "highlight": false + }, + { + "letter": "A", + "highlight": false + }, + { + "letter": "G", + "highlight": false + }, + { + "letter": "U", + "highlight": true + }, + { + "letter": "E", + "highlight": false + } + ], + "aboutAuthorSentence": "本遊戲源自 Word-Guessing-Game 開源專案,由<3>{{author}}改編為排灣語版本。", + "aboutCodeSentence": "原專案作者為<3>Hannah Park,原始碼在<1>the original code。本遊戲的開發依據為<5>Aidan Pine's fork。", + "aboutDataSentence": "本遊戲的單詞來源為 <1>{{wordListSource}}。", + "aboutOriginalSentence": "您也可以前往 <1>here 玩一玩原版的 Word-Guessing-Game 喔!", + "languages": { + "en": "English", + "es": "Español", + "sw": "Kiswahili", + "zh": "中文" + } } diff --git a/src/components/grid/Cell.tsx b/src/components/grid/Cell.tsx index 0461527037..79231ef547 100644 --- a/src/components/grid/Cell.tsx +++ b/src/components/grid/Cell.tsx @@ -13,8 +13,8 @@ export const Cell = ({ value, status }: Props) => { 'bg-white border-slate-200': !status, 'border-black': value && !status, 'bg-slate-400 text-white border-slate-400': status === 'absent', - 'bg-green-500 text-white border-green-500': status === 'correct', - 'bg-yellow-500 text-white border-yellow-500': status === 'present', + 'bg-purple-500 text-white border-purple-500': status === 'correct', + 'bg-orange-500 text-white border-orange-500': status === 'present', 'cell-animation': !!value, } ) diff --git a/src/components/keyboard/Key.tsx b/src/components/keyboard/Key.tsx index 1a5cbd1362..ad55fe0723 100644 --- a/src/components/keyboard/Key.tsx +++ b/src/components/keyboard/Key.tsx @@ -23,9 +23,9 @@ export const Key = ({ { 'bg-slate-200 hover:bg-slate-300 active:bg-slate-400': !status, 'bg-slate-400 text-white': status === 'absent', - 'bg-green-500 hover:bg-green-600 active:bg-green-700 text-white': + 'bg-purple-500 hover:bg-purple-600 active:bg-purple-700 text-white': status === 'correct', - 'bg-yellow-500 hover:bg-yellow-600 active:bg-yellow-700 text-white': + 'bg-orange-500 hover:bg-orange-600 active:bg-orange-700 text-white': status === 'present', } ) diff --git a/src/components/mini-grid/MiniCell.tsx b/src/components/mini-grid/MiniCell.tsx index 4af0183ef3..ced6c914e9 100644 --- a/src/components/mini-grid/MiniCell.tsx +++ b/src/components/mini-grid/MiniCell.tsx @@ -11,8 +11,8 @@ export const MiniCell = ({ status, letter }: Props) => { 'w-10 h-10 border-solid border-2 border-slate-200 flex items-center justify-center mx-0.5 text-lg font-bold rounded', { 'bg-white': status === 'absent', - 'bg-green-500': status === 'correct', - 'bg-yellow-500': status === 'present', + 'bg-purple-500': status === 'correct', + 'bg-orange-500': status === 'present', } ) diff --git a/src/constants/config.ts b/src/constants/config.ts index f37eaec1bb..a67af6f588 100644 --- a/src/constants/config.ts +++ b/src/constants/config.ts @@ -1,7 +1,7 @@ export const CONFIG = { - tries: 6, // This changes how many tries you get to finish the game + tries: 7, // This changes how many tries you get to finish the game language: 'YourLanguageHere', // This changes the display name for your language - wordLength: 5, // This sets how long each word is based on how many characters (as defined in orthography.ts) are in each word + wordLength: 6, // This sets how long each word is based on how many characters (as defined in orthography.ts) are in each word author: 'YourNameHere', // Put your name here so people know who made this game! authorWebsite: 'YourLinkHere', // Put a link to your website or social media here wordListSource: 'YourDictionarySource', // Describe the source material for your words here