Clone of Wordle Built using React and styled-components.
Run the following commands:
$> git clone https://github.com/jamesurobertson/trumple.git
$> cd trumple
$> npm install
$> npm run start
The 5,757 word list comes from Donald Knuth's The Stanford Graphbase
In the config file there are many configurations you can set up which will automatically take effect. Inlcuding:
- Max guesses (# of rows)
- Word Length
- Grid gap and tile size
- Flip and win animation duration and delay.
- Title displayed in the Header.
- Emoji's on the shareable button.
- Colors for correct, present, absent, and unguessed tiles. For theme colors you can navigate to theme.js
If you change the colors, be sure to change the emojiMap as well or the shareable game result won't work properly. If you change the word length you will need to provide a new list of words in words.js. I have only included 5 letter words.
Feel free to open an issue or submit a PR for review.