ScrabbleBot is a Python implementation of Scrabble with a Pygame-based GUI and a core rules engine you can test or extend. The project separates game logic from the UI so you can build bots, experiment with scoring/rules, or plug in new interfaces.
- Core engine: board, tiles, rules validation, and scoring.
- Dictionary-backed legality checks.
- Simple GUI for local play.
- Pluggable AI engines in
scrabble/engine/(greedy/random examples).
- Python 3.10+ recommended.
- Pygame (for the GUI).
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -r requirements.txtpython main.py
# or
python -m scrabble_guipython -m unittest discover -s testsscrabble/: core logic (rules, scoring, game state, engines).scrabble_gui/: Pygame UI (scenes, widgets, assets).tests/: unit tests.assets/: dictionary files.
MIT. See LICENSE.