Skip to content

Guess the letters To complete the word, the player has to guess the letters within a certain number of attempts.

Notifications You must be signed in to change notification settings

girgisadel/GuessingGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GuessingGame

Guess the letters To complete the word, the player has to guess the letters within a certain number of attempts.

How is the code?

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

About

Guess the letters To complete the word, the player has to guess the letters within a certain number of attempts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages