Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xnodeoncode/lexicon-quest
A guessing game that uses terms from an online dictionary service.
https://github.com/xnodeoncode/lexicon-quest
javascript
Last synced: 17 days ago
JSON representation
A guessing game that uses terms from an online dictionary service.
- Host: GitHub
- URL: https://github.com/xnodeoncode/lexicon-quest
- Owner: xnodeoncode
- Created: 2024-06-29T15:44:15.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-06-30T17:34:00.000Z (6 months ago)
- Last Synced: 2024-07-03T21:35:35.354Z (6 months ago)
- Topics: javascript
- Language: JavaScript
- Homepage: https://xnodeoncode.github.io/lexicon-quest/
- Size: 1.94 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes.md
Awesome Lists containing this project
README
# Lexicon Quest
A guessing game that presesnts a random word, and the player must guess the correct spelling within a preset number of attempts.
### The Static Dictionaries
The game has three static dictionaries based on terms from Astronomy, US States, and The Simpsons TV Show. The static dictionaries provide a fall back if a dictionary service is not available.
### The Dictionary Service
The dictionary service is designed to make a fetch (GET) request to an api using an api key and request url from a service configuration object. The fetch request is called on an interval populating a collection of terms to be used in the game. Once an adequate number of terms have been accumulated the game switches to online dictionary mode.
If the service becomes unavailable at any time during play, the game will fall back to the static dictionaries.