Presentation is loading. Please wait.

Presentation is loading. Please wait.

HANGMAN- Software/ Hardware Integration Project Idea was to design a working C++ program to play a Hangman word guessing game Idea was to design a working.

Similar presentations


Presentation on theme: "HANGMAN- Software/ Hardware Integration Project Idea was to design a working C++ program to play a Hangman word guessing game Idea was to design a working."— Presentation transcript:

1 HANGMAN- Software/ Hardware Integration Project Idea was to design a working C++ program to play a Hangman word guessing game Idea was to design a working C++ program to play a Hangman word guessing game Program had to be able to show how long the word was, take in letters guessed, recognize if the letter was right or wrong, recognize a repeated letter, and know what to do when the word was guessed Program had to be able to show how long the word was, take in letters guessed, recognize if the letter was right or wrong, recognize a repeated letter, and know what to do when the word was guessed

2 Initializing strings, characters, and words Initializing strings, characters, and words Had to use a 26 character array because 26 characters in the alphabet Had to use a 26 character array because 26 characters in the alphabet Needed another file to put the guess words into and have the program call each word when needed (Test.dat) Needed another file to put the guess words into and have the program call each word when needed (Test.dat)

3 This is where I made the inputted letter capitalized and shows the user the letters they already tried to guess or a repeated guess This is what makes the program not case sensative so you don’t have to worry about capitalization

4 Deals with the right or wrong guesses Deals with the right or wrong guesses Keeps track of which case to use Keeps track of which case to use

5 Shows what happens when you win and guess the word Shows what happens when you win and guess the word Gives you the option to play again with a new word or to end the program Gives you the option to play again with a new word or to end the program

6 Hangman stages Hangman stages Switch command Switch command Cases Cases

7 Problems/Glitches Needed help on how to call the words from another file. Thanks to Frank Racioppi Needed help on how to call the words from another file. Thanks to Frank Racioppi Figure out how to make it randomly choose a word Figure out how to make it randomly choose a word Haven’t had a C++ class in 1 ½ years Haven’t had a C++ class in 1 ½ years


Download ppt "HANGMAN- Software/ Hardware Integration Project Idea was to design a working C++ program to play a Hangman word guessing game Idea was to design a working."

Similar presentations


Ads by Google