Skip to content

Instantly share code, notes, and snippets.

@carwin-datarock
Last active November 23, 2025 22:45
Show Gist options
  • Select an option

  • Save carwin-datarock/dfa79ece72e1bc10b7b3541ce459ac33 to your computer and use it in GitHub Desktop.

Select an option

Save carwin-datarock/dfa79ece72e1bc10b7b3541ce459ac33 to your computer and use it in GitHub Desktop.

Welcome to "The New Wordle"

Our company is all about Wordle related things and we'd like you to model a system that can support Wordle tournaments. The model should show entities and their relationships between them.

In scope

A global leader-board which will tell users their world ranking.

  • We will release a game every day. All players will get the same word and will have 24 hours to complete the game.
  • After players have played 10 games, they will appear in the ranking.
  • Players will be ranked by the amount of guesses they needed to complete games and the amount of time taken. The statistics from their last 10 games will determine their ranking.

Out of scope

In the future, we'd like to have a 1 vs 1, knock-out competetion that culminates in the grand final

# The word that needs to be guessed could be chosen from these
WORD_LIST = ["PLATE", "LEAST", "SLATE", "RAISE", "CODER", "SCALE", "STARE", "SASSY"]

When a game of Wordle begins, a 5-letter word is chosen at random from a list of words.

The player must try to guess the word by entering a five-letter word.

After each guess, letters are marked as follows:

  • 🟩 = correct letter, correct position
  • 🟨 = correct letter, wrong position
  • ⬜ = letter not in word

Example:

  • Word: CODER
  • Guess: ULCER
  • Result: ⬜⬜🟨🟩🟩

Example:

  • Word: CODER
  • Guess: CODER
  • Result: 🟩🟩🟩🟩🟩 (game won)

A player wins the game if they correctly guess the word within six attempts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment