ongoing work to translate to italian tracked in translation.md
This is a clone project of the popular word guessing game we all know and love. Made using React, Typescript, and Tailwind.
Clone the repository and perform the following command line actions:
$> cd react-wordle
$> npm install
$> npm run start
$> docker build -t game:dev .
$> docker run -d -p 3000:3000 game:dev
Open http://localhost:3000 in browser.
$> docker build --target=prod -t game:prod .
$> docker run -d -p 80:80 game:prod
Open http://localhost in browser.
Want to add one to the list? Just make a pull request or let us know via a comment here
MAX_WORD_LENGTH
variable in src/constants/settings.ts to the desired length.WORDS
array in src/constants/wordlist.ts to only include words of the new length.VALID_GUESSES
array in src/constants/validGuesses.ts arrays to only include words of the new length.dir="rtl"
to the HTML tag\u202E
(the unicode right-to-left override character) to the return statement of the inner function in generateEmojiGrid
in src/lib/share.tsThis repository includes support for Google Analytics or Plausible Analytics, but, by default, this is disabled.
To enable Google Analytics:
G-XXXXXXXXXX
)REACT_APP_GOOGLE_MEASUREMENT_ID=G-XXXXXXXXXX
Keep in mind that your region might have legislation about obtaining a user’s consent before enabling trackers. This is up to downstream repos to implement.
To enable Plausible Analytics:
example.app
REACT_APP_PLAUSIBLE_DOMAIN=example.app