home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / bbs / ff810.lha / FF810 / Snake / snake.doc < prev    next >
Text File  |  1993-01-24  |  2KB  |  42 lines

  1.  
  2.                                SNAKE 
  3.  
  4.                           by Michael Warner
  5.  
  6.  
  7. Yes, it's SNAKE!!!. Not exactly the cutting edge of computer gaming, but
  8. those of you with memories stretching back into the 70s may have seen it
  9. before. I first saw it on the TRS-80 which I approached with awe in the
  10. local Tandy store, and was hooked on it. Since then I've written it for a
  11. number of machines as a let's-try-programming-this-thing exercise,
  12. including a Vax at Uni (not a great real-time platform, unfortunately) and
  13. an Apollo Prism(!) In fact, I can proudly state that SNAKE is the only
  14. program I've ever written for the IBM PC (Turbo Pascal), probably a unique
  15. claim among professional programmers!!  It was also the first graphical
  16. program I wrote on my shiny new Amiga 1000 back in early '86; that version
  17. has vanished in the mists of time...
  18.  
  19. Anyway, the game (I assume the default 2.0 colour scheme):
  20.  
  21. SNAKE is played on a 40*40 matrix which fills a Workbench window. You are
  22. the blue dot in the centre - to increase in length (the object of the game)
  23. you must eat frogs (the white dots) while avoiding bricks (the black dots).
  24. Frogs come and go randomly, but there are always five of them at any
  25. moment. One in ten disappearing frogs is replaced by a brick. If you hit
  26. yourself, a side wall or a brick you die; once your length is greater than
  27. one you cannot reverse your direction.
  28.  
  29. Movement is with the cursor keys; once a game has started you cannot stop
  30. moving. Press a cursor key to start each game. Other keys are P to pause
  31. (any key to unpause) and ESC to quit.
  32.  
  33. From the few games I've played, I'd say that if you can get to 400 you're
  34. doing well...
  35.  
  36. SNAKE requires AmigaDOS 2.0 or higher and a Workbench screen at least 256
  37. pixels high - it adjusts itself to give a decent aspect ratio on Workbench
  38. screens of different vertical resolutions. It should run smoothly
  39. regardless of system load. SNAKE was compiled under SAS 6.1.
  40.  
  41. Feel free to use this code as you please, but please acknowledge me.
  42.