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 start
To build/run docker container:
$ docker build -t game .
$ docker run -d -p 3000:3000 game
open http://localhost:3000 in browser.
To create a version in a different language:
public/index.html
public/index.html
public/manifest.json
src/constants/strings.ts
src/constants/validGuesses.ts
, replacing the English wordssrc/constants/wordlist.ts
, replacing the English wordssrc/components/modals/AboutModel.tsx
src/components/modals/InfoModal.tsx
CharValue
type in src/lib/statuses.ts
and update the keyboard in src/lib/components/keyboard/Keyboard.tsx
dir="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