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 reactle:dev -f docker/Dockerfile .
$> docker run -d -p 3000:3000 --name reactle-dev reactle:dev
Open http://localhost:3000 in browser.
$> docker build --target=prod -t reactle:prod -f docker/Dockerfile .
$> docker run -d -p 80:8080 --name reactle-prod reactle: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.REACT_APP_LOCALE_STRING
to your localedir="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