♥♥♥ #project #hangman #final #awsome ♥♥♥
I did my final project with Carlos de la Vega♥
We chose to do a hangman, we used several functions and then applied them on main.
Functions:
- PrintMessage: it prints what ever you put there and centers it
- DrawHM: it draws the little man based on the number of errors
- PrintLetters: it «erases» the letters that you’ve already input
- PAvailableLetters: it prints the alphabet letters and with the upper function erases the ones that you’ve already input
- PWordandCheckwin: it draws lines instead of characters until you input a correct letter, this fuction will determine when you’ve won or lost (you choose 10 wrong letters)
- LoadWord: to download a random word from a file with several words
- TriesLeft: it counts the errors, the output is used in several fuctions
- Main: it joins all the upper functions so that the game works
Help:
- http://www.cplusplus.com/reference/cstdlib/rand/
- https://www.youtube.com/watch?v=VWUhXnq_qKI
- https://www.youtube.com/watch?v=ynGqQV9Re9g
- https://www.youtube.com/watch?v=dnZfFKh-Nz8
F