Welcome to the Word Scramble Game page.
This page contains a brief description and implementation instructions for the project.
Project Description
Presents a scrambled version of a word, and the user must guess the original. The program shuffles letters of a randomly chosen word and asks the player to unscramble it.
Project Requirements
Python 3.x (built-in random
).
How to Run the Project
- Write a script (e.g.
scramble.py
) with a list of words. For each round, pick one and shuffle its letters (random.sample
orrandom.shuffle
). - Run it:
python scramble.py
. See the scrambled word and type your guess. Tell correct/incorrect.
Key Concepts Learned
- Randomization: Shuffling characters.
- Lists and Strings: Converting between them to shuffle.
- Game Loop: Allow multiple rounds and keep score.
Possible Extensions
- Use categories or difficulty levels (long words).
- Add hints after wrong tries.
- Use a file of words instead of a hardcoded list.