Guess the letters To complete the word, the player has to guess the letters within a certain number of attempts.
- Prepare and clean words from txt file to list of words.
- Save this list in a file with the extension (.dat) using the Binary Write protocol.
- Load this file in the right place and then use it.
- Get a random word from this list.
- Allow the player to guess letters within a certain number of attempts.
- If all attempts are made, the player loses.
- If the player guesses all the letters correctly, wins.