home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l074 / 1.ddi / HANGMAN.TRU < prev    next >
Encoding:
Text File  |  1985-01-05  |  955 b   |  27 lines

  1. !  Game of Hangman.
  2. !  Copyright (c) 1985 by True BASIC, Inc.
  3.  
  4. ! This program plays the word game "Hangman".
  5.  
  6. ! You'll be asked to guess a word by guessing the individual letters
  7. ! in the word.  For each word, you'll start with a display of the
  8. ! alphabet, an empty gallows, and a series of asterisks which correspond
  9. ! to the letters in the word you are to guess.  Each time you choose
  10. ! a letter which is in the word, that letter will replace the asterisks
  11. ! in the appropriate positions in the word.  For each incorrect guess,
  12. ! an additional part of a body will appear on the gallows.  The game
  13. ! continues until you have guessed the word or are completely hanged.
  14.  
  15. ! After each game, you'll be asked if you want to play another game.
  16. ! Enter the letter "y" if you want to try another word, and "n" if you
  17. ! want to stop.
  18.  
  19.  
  20. WHEN EXCEPTION IN
  21.    SET WINDOW 0,1,0,1
  22.    CHAIN "Hang_g.trc"
  23. USE
  24.    CHAIN "Hang_m.trc"
  25. END WHEN
  26. END
  27.