This project implements a command-line version of the popular New York Times Spelling Bee game. Players are challenged to create as many words as possible from a given set of letters, with the condition that each word must include a particular "key" letter. This Python-based game offers a robust command-line interface for playing, managing game states, and includes features such as saving and loading game sessions.
- Random Letter Generation: Each game session starts with a randomly generated set of letters, including a mandatory key letter.
- Save/Load Game: Players can save their current game state to a file and load it later to continue their session.
- Score Tracking: The game calculates scores based on the length of the words created, encouraging players to find longer and more complex words.
- Dictionary Validation: Words are validated against a comprehensive dictionary file to ensure that only real words are counted.
- Prerequisites: Ensure you have Python 3.x installed on your system.
- Installation: Clone this repository to your local machine.
- Running the Game: Navigate to the project directory and run
python3 spelling_bee.py
to start a game session. - Game Instructions: Follow the on-screen prompts to play the game. You'll be asked whether you want to load a saved game or start a new session.
Contributions to the project are welcome. Please feel free to fork the repository, make your changes, and submit a pull request.