Files
basic-computer-games/44_Hangman
Martin Thoma e64fb6795c MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
2022-03-05 09:29:23 +01:00
..
2022-03-05 09:29:23 +01:00
2022-03-05 09:29:23 +01:00
2022-03-05 09:29:23 +01:00
2022-03-05 09:29:23 +01:00
2022-03-05 09:29:23 +01:00
2022-01-03 02:13:21 -05:00

Hangman

This is a simulation of the word guessing game, hangman. The computer picks a word, tells you how many letters in the word it has picked and then you guess a letter in the word. If you are right, the computer tells you where that letter belongs; if your letter is wrong, the computer starts to hang you. You get ten guesses before you are completely hanged:

  1. Head
  2. Body
  3. Right Arm
  4. Left Arm
  5. Right Leg
  6. Left Leg
  7. Right Hand
  8. Left Hand
  9. Right Foot
  10. Left Foot

You may add words in Data statements; however if you do, you must also change the random word selector.

David Ahl modified this program into its current form from the one created by Kenneth Aupperle of Melville, New York.


As published in Basic Computer Games (1978):

Downloaded from Vintage Basic at http://www.vintage-basic.net/games.html