Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lynn/hello
Word-guessing game
https://github.com/lynn/hello
Last synced: about 4 hours ago
JSON representation
Word-guessing game
- Host: GitHub
- URL: https://github.com/lynn/hello
- Owner: lynn
- License: mit
- Created: 2022-01-01T18:37:40.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-23T13:05:45.000Z (9 months ago)
- Last Synced: 2024-12-14T08:04:38.030Z (7 days ago)
- Language: TypeScript
- Homepage:
- Size: 13.8 MB
- Stars: 351
- Watchers: 11
- Forks: 231
- Open Issues: 51
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- starred - lynn/hello - Word-guessing game (TypeScript)
README
# hello
A word game. Play it [**here**](https://hellowordl.net/).
## Introduction
_hello_ is a word game similar to the TV show [Lingo]().
You get 6 tries to guess a 5-letter target word. After each guess, the letters light up in various colors as clues. Green means a letter is correct in this spot; yellow means a letter is _elsewhere_ in the target word; gray means a letter is not in the target word at all.
Click _About_ inside the game to learn by example.
## Where are the words coming from?
To generate target words, I have been manually curating the top 25,000 or so entries of [Peter Norvig's English word frequency list](http://norvig.com/mayzner.html) to get rid of obscure words, plurals, conjugated verbs, inappropriate language, and British spellings (sorry). If you get dealt a strange target word, please open an issue on this here GitHub repository.
To check guesses, I use some variation of the _Official Tournament and Club Word List_ used in North American Scrabble tournaments. (I'm not a native English speaker, but my English tends mostly American.)
## For developers
You're very welcome to create your own offshoot/remix based on _hello_. To get started, you can [fork the code](https://docs.github.com/en/get-started/quickstart/fork-a-repo) on GitHub.
To run the code locally, first install [Node.js and npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm#using-a-node-version-manager-to-install-nodejs-and-npm). Then, in this directory, open a terminal and run `npm install` followed by `npm run start`. _hello_ will be running at http://localhost:3000/. Any changes you make to the source code will be reflected there. Have fun!
Finally, `npm run deploy` will deploy your code to the `gh-pages` branch of your fork, so that everyone can play your version at https://yourname.github.io/hello (or the name of your fork if you renamed it).