Fortran Help with Writing an Interactive Hangman Program

  • Thread starter Thread starter kathrynag
  • Start date Start date
  • Tags Tags
    Program Writing
Click For Summary
The discussion centers on developing an interactive Hangman program, focusing on user input and word selection. Key points include the necessity of creating an array of words to serve as a dictionary for the game, ensuring a random selection of words, and displaying the empty word structure for players to guess. The program should validate user guesses and show correct letters. Participants recommend starting with pseudo-code before moving to actual coding, and encourage sharing code snippets to troubleshoot any issues encountered during development.
kathrynag
Messages
595
Reaction score
0
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.
 
Technology news on Phys.org
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!
 
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...

Similar threads

Replies
38
Views
2K
Replies
16
Views
3K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 49 ·
2
Replies
49
Views
4K
Replies
37
Views
5K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 1 ·
Replies
1
Views
791