Skip to content

Python-based word scoring engine that computes the highest-scoring Scrabble word from a given set of letters using official tile values, wildcard logic, and dictionary matching.

Notifications You must be signed in to change notification settings

pprabhu90/scrabble-score-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scrabble Word Scoring Engine

This project includes two Python scripts that compute the highest-scoring Scrabble words from a given set of letters using standard letter scores.

Features

  • 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

Files

  • scrabble.py – input handling, word generation, and scoring logic
  • wordscore.py – function to calculate the score of a word
  • sowpods.txt – dictionary of valid Scrabble words (included)

How to Run

From the command line:

python scrabble.py PAINTER

Author

Praj Prabhu

About

Python-based word scoring engine that computes the highest-scoring Scrabble word from a given set of letters using official tile values, wildcard logic, and dictionary matching.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages