Spelling Bee Example 2

example game

$ python3 spellingbee.py
Welcome to Spelling Bee!

Here is your puzzle:

  A   D
E   Y   G
  R   T

Type a word or END to quit: GADGET
Center tile must be in your word.

  A   D
E   Y   G
  R   T

Type a word or END to quit: READY
READY: +5 points (5 total)

  A   D
E   Y   G
  R   T

You made the following words so far:
READY
Type a word or END to quit: YEAR
YEAR: +1 points (6 total)

  A   D
E   Y   G
  R   T

You made the following words so far:
READY YEAR
Type a word or END to quit: DREARY
DREARY: +6 points (12 total)

  A   D
E   Y   G
  R   T

You made the following words so far:
READY YEAR DREARY
Type a word or END to quit: TRAGEDY
TRAGEDY: +7 points (19 total)

  A   D
E   Y   G
  R   T

You made the following words so far:
READY YEAR DREARY TRAGEDY
Type a word or END to quit: GADGETRY
GADGETRY: +8 points (27 total)

  A   D
E   Y   G
  R   T

You made the following words so far:
READY YEAR DREARY TRAGEDY GADGETRY
Type a word or END to quit: END

You earned 27 points!