This project includes two Python scripts that compute the highest-scoring Scrabble words from a given set of letters using standard letter scores.
- Calculates word scores using official Scrabble tile values
- Supports wildcard characters (
*
and?
) - Validates words against a reference dictionary (
sowpods.txt
) - Optimized for readability and teaching purposes
scrabble.py
– input handling, word generation, and scoring logicwordscore.py
– function to calculate the score of a wordsowpods.txt
– dictionary of valid Scrabble words (included)
From the command line:
python scrabble.py PAINTER
Praj Prabhu