mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-15 17:11:42 -08:00
31 lines
1.1 KiB
Markdown
31 lines
1.1 KiB
Markdown
### 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):
|
|
- [Atari Archives](https://www.atariarchives.org/basicgames/showpage.php?page=80)
|
|
- [Annarchive](https://annarchive.com/files/Basic_Computer_Games_Microcomputer_Edition.pdf#page=95)
|
|
|
|
Downloaded from Vintage Basic at
|
|
http://www.vintage-basic.net/games.html
|
|
|
|
#### Porting Notes
|
|
|
|
(please note any difficulties or challenges in porting here)
|