hannahcode / word-guessing-game
- среда, 2 февраля 2022 г. в 00:31:44
A word guessing game made using React, Typescript, and Tailwind
Word Guessing Game
This is a clone project of a popular word guessing game made using React, Typescript, and Tailwind.
To Run Locally: Clone the repository and perform the following command line actions:
$ cd word-guessing-game
$ npm install
$ npm run startTo build/run docker container:
$ docker build -t game .
$ docker run -d -p 3000:3000 gameopen http://localhost:3000 in browser.
To create a version in a different language:
public/index.htmlpublic/index.htmlpublic/manifest.jsonsrc/constants/strings.tssrc/constants/validGuesses.ts, replacing the English wordssrc/constants/wordlist.ts, replacing the English wordssrc/components/modals/AboutModel.tsxsrc/components/modals/InfoModal.tsxCharValue type in src/lib/statuses.ts and update the keyboard in src/lib/components/keyboard/Keyboard.tsxdir="rtl" to the HTML tag in public/index.html and prepend \u202E (the unicode right-to-left override character) to the return statement of the inner function in generateEmojiGrid in src/lib/share.ts