High-Performance Word Game Solver

Master the Blossom Word Game with Unix Simplicity

A fast, POSIX-compliant terminal tool and algorithmic solver designed for Merriam-Webster’s daily Blossom puzzle. Calculate optimal bonus letter petal multipliers, pangram bonuses, and scoring paths in milliseconds.

Advertisement
AdSense Ready (pub-8973108060277483)

Interactive Web Solver & Calculator

Test out letter combinations and explore point projections directly in your browser before running queries in your terminal.

Live Blossom Calculator

Matches exact scoring formulas implemented in the CLI script

Showing 24 calculated matches
somebodyPANGRAM (+7)
len:15 + bonus:527 pts
memos
len:4 + bonus:1014 pts
memo
len:2 + bonus:1012 pts
besoms
len:6 + bonus:511 pts
doomed
len:6 + bonus:511 pts
embeds
len:6 + bonus:511 pts
besom
len:4 + bonus:59 pts
demos
len:4 + bonus:59 pts
modes
len:4 + bonus:59 pts
seems
len:4 + bonus:59 pts
embed
len:4 + bonus:59 pts
deems
len:4 + bonus:59 pts
domes
len:4 + bonus:59 pts
messy
len:4 + bonus:59 pts
moose
len:4 + bonus:59 pts
demo
len:2 + bonus:57 pts
mode
len:2 + bonus:57 pts
seem
len:2 + bonus:57 pts
deem
len:2 + bonus:57 pts
dome
len:2 + bonus:57 pts
mess
len:2 + bonus:57 pts
mode
len:2 + bonus:57 pts
seem
len:2 + bonus:57 pts
some
len:2 + bonus:57 pts

Official Blossom Game Scoring Rules

The blossom utility computes point yields based precisely on Merriam-Webster’s official formula:

Length-Based Base Points

  • 4 letters 2 points
  • 5 letters 4 points
  • 6 letters 6 points
  • 7 letters 12 points
  • 8+ letters 12 + 3/addl. letter

Pangram Bonus (+7)

A pangram uses every single distinct letter provided in the flower (the center letter plus all petal letters).

+7 bonus points awarded immediately for complete flower coverage.

Bonus Petal Multiplier (+5)

In Blossom, each round has designated bonus petals. When playing with a specific bonus letter, each occurrence provides an extra 5 points!

+5 points per occurrence of the bonus letter in the word.
Advertisement
AdSense Ready (pub-8973108060277483)

CLI Installation & Quickstart

Run the Blossom solver directly from your command line on any Linux, macOS, or WSL environment.

1One-Line Installation via Bootstrap Script

The repository provides a self-installing bootstrap script that clones the tool or installs it to your local environment:

curl -sL https://raw.githubusercontent.com/joshuacox/blossom/refs/heads/main/bootstrap.sh | bash

2Basic Usage Syntax

Pass the required CENTER_LETTER followed by the surrounding PETAL_LETTERS:

# Syntax: ./blossom CENTER_LETTER PETAL_LETTERS
./blossom e sombody

3Optimizing for a Specific Bonus Petal

When you play a turn dedicated to a particular bonus petal letter, provide it as the optional 3rd argument:

# Syntax: ./blossom CENTER_LETTER PETAL_LETTERS BONUS_LETTER
./blossom e sombody m

4Custom Dictionary & Exhaustive Search (uber_blossom)

Use your custom dictionary file or run the uber_blossom script to evaluate all petals concurrently:

# Specify custom wordlist:
DICTIONARY=/usr/share/dict/words ./blossom e sombody
# Evaluate across all petals with uber_blossom:
./uber_blossom e sombody

Internal Architecture & Design

Understanding the underlying Bash pipeline, caching layers, and regex filters.

Regex Invalidation & Filtering

The script operates via high-speed grep streams. It constructs negative-character classes [^$ALL_LETTERS] to purge any invalid characters while requiring inclusion of the center letter. It also eliminates words under 4 characters prior to score evaluation.

Disk-Based Response Cache

Evaluated dictionary sets are cached at /tmp/blossom_cache/$ALL_LETTERS.txt, enabling instant score permutations across multiple bonus letter turns without re-scanning system dictionaries.

Advertisement
AdSense Ready (pub-8973108060277483)