home *** CD-ROM | disk | FTP | other *** search
/ Millennium Time Capsule / AC2000.BIN / disks / ac6_disk / tutorial.s / hbasic3.tut / numgame.txt < prev    next >
Encoding:
Text File  |  1997-06-12  |  1.8 KB  |  52 lines

  1.  
  2. The NUMber GAME by Paul Jones. © Copyright to Paul Jones and Atari 
  3. Computing 1997.
  4.  
  5. Disclaimer
  6. ¯¯¯¯¯¯¯¯¯¯
  7. In the event of any damaged caused to your computer by this program 
  8. (very unlikely) then Paul Jones or anyone at Atari Computing cannot be 
  9. held responcible.
  10.  
  11. Introduction
  12. ¯¯¯¯¯¯¯¯¯¯¯¯
  13. This program is designed as an example of using the SUB and FUNCTION 
  14. routines in HBASIC, along with the maths functions. The source is was 
  15. created in version 1, but will compile in version 2 as is, and comes 
  16. with a compiled TOS version. Even the source is explained in the file 
  17. EXPLAIN.TXT!
  18.  
  19. The idea of the game
  20. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  21.  
  22. The main idea of the game is to correctly guess a number that the 
  23. computer generates. The computer will tell you if the number you've 
  24. chosen is above or below the generated one, and also how many turns 
  25. you've had. 
  26.  
  27. Instructions
  28. ¯¯¯¯¯¯¯¯¯¯¯¯
  29.  
  30. The program starts with asking you for a random number gene. This is 
  31. needed for the main game to random generate a number, so type in any 
  32. number from the range specified.
  33.  
  34. You start at turn 1. Every time you input a new number the number of 
  35. turns increases. The computer asks you for a number. If the number you 
  36. chose is above/below that of the generated one, it will tell you. The 
  37. computer also tells you the range of what you've typed in too.
  38.  
  39. If you want to quit, choose a number above 1000, since the generated 
  40. number is always between 1 and 999.
  41.  
  42. When/if you choose the right number the computer will ask you do you 
  43. want another game. Pressing the 'y' key will start again, pressing 'n' 
  44. will quit and anything else will be ignored.
  45.  
  46. Feedback
  47. ¯¯¯¯¯¯¯¯
  48.  
  49. Email: paulat.jones@zetnet.co.uk
  50. URL: http://www.users.zetnet.co.uk/pjones/home.htm
  51.  
  52. Or via the Atari Computing office by sending a mail to them.