This is a console-based Word Guessing Game written in C#. The objective of the game is to guess a secret word by guessing individual letters. The player has a limited number of attempts to correctly guess the word.
To run this game, you need to have the following installed:
- .NET Core SDK download
To play the game you can download the latest release here
-
Once you have the Word.Guesser.zip file downloaded you can extract the zip folder to any location desired
-
You will now have a folder called Word.Guesser and inside this folder another folder called Word Guesser
-
Inside the Word Guesser folder you will find a wordGuesser.exe and a words.txt
-
Run the program.
-
A menu will appear with a message and a prompt to press enter to start the game.
-
Press enter to start the game.
-
The hidden word will be displayed as underscores, and the user will be prompted to guess a letter.
-
If the letter is correct, it will replace the corresponding underscore(s) in the hidden word. If the letter is incorrect, it will be added to a list of guessed letters and the user will be prompted to guess again.
-
The game will continue until the user correctly guesses the word or runs out of attempts.
-
If the user correctly guesses the word, they will be congratulated and given the number of attempts it took to guess the word.
-
The user will be prompted to press enter to return to the main menu.