Fortran hangman

  • Fortran
  • Thread starter kathrynag
  • Start date
  • #1
598
0

Main Question or Discussion Point

I'm looking for major help on writing an interactive program to run hangman. It can be user inputted or using an array. I just don't know what to do.
 

Answers and Replies

  • #2
365
0
Is it an interactive program using text only, or graphics are required? I assume the former.

If the player plays the computer, then you'd need to create an array of words to represent the dictionary from which you draw words. You will need a random choice of words which will show the empty skeleton. User will guess, and your program will check for validity and display the correct guesses.

I suggest you start with a pseudo-code, and actual coding if possible. You can submit the code and tell us what problems you are encountering.

Good luck!
 

Related Threads for: Fortran hangman

  • Last Post
Replies
1
Views
2K
Replies
8
Views
6K
Replies
8
Views
2K
  • Last Post
Replies
9
Views
3K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
7
Views
5K
  • Last Post
Replies
1
Views
2K
Top