An open API service indexing awesome lists of open source software.

https://github.com/zulko/verbiage

A word game
https://github.com/zulko/verbiage

Last synced: about 1 year ago
JSON representation

A word game

Awesome Lists containing this project

README

          

# Verbiage

Verbiage is a word guessing game. When you guess the wrong word, you get a clue about how your guess relates to the secret word.

Verbiage screenshot

## Repository

This repository is organized in two folders:

- `scripts` contains the scripts for generating the word lists and clues, and generating the daily puzzles.
- `verbiage` contains the code for the app.

### Scripts

The scripts can be used as follows (see `-h` for options):

```bash
# Compile the list of english words (4, 5, 6 letters)
python scripts/word_lists/en_words.py

# Play in the terminal
python scripts/game.py play --language en --word-size 5

# Run tests on predefined words
python scripts/game.py test --language fr
```

### Verbiage web app

The web app is built using SvelteJS and can be run locally with:

```bash
cd verbiage
npm install
npm run dev
```

The app deployed to [verbiage.cc](https://verbiage.cc) on each push to the `main` branch.

## Stack

Verbiage was built using
- Google Gemini for AI-generated clues.
- Lexique383, mobypos, Zaibacus' thesaurus, Peter Norvig's frequency list, categorized-words, for the lists of words.
- SvelteJS, Matt Boldt's Typed-JS, Animate.css, svelte-i18n for the website.