home *** CD-ROM | disk | FTP | other *** search
/ ftp.gamers.org / ftp.gamers.org.zip / ftp.gamers.org / pub / games / uwp-uml / cards / unsort.txt < prev    next >
Text File  |  1996-04-08  |  1KB  |  38 lines

  1. Unsort V1.0 Play CCG's online!
  2.  
  3.  
  4. Unsort is a small utility that randomly scrambles (or "shuffles") the order
  5. of the lines of a text file. One of it's more obvious applications is to take
  6. a CCG or regular deck, as listed in a text file, and "shuffle" it for use 
  7. in online play.
  8.  
  9. That is, take a text file list of the cards in your deck, shoot it through 
  10. unsort, and use the result as your draw pile. A third party referee may be 
  11. used to maintain the deck(s) if you don't know/trust your opponent...
  12.  
  13.  
  14. Usage is a follows:
  15.  
  16. UNSORT [FILENAME.TXT]
  17.  
  18. Where FILENAME.TXT is the name of any text file. Unsort will then rearrange 
  19. the lines of that file in random order and output the result to standard 
  20. output (typically the screen). 
  21.  
  22. For example, to create a random list of the 52 normal playing cards contained
  23. in the sample file CARDS.TXT you simply type:
  24.  
  25. UNSORT CARDS.TXT
  26.  
  27. To send the results to a file, simply use the redirection symbol:
  28.  
  29. UNSORT CARDS.TXT > DEAL.TXT
  30.  
  31. This will send the "shuffled" deck to a file called DEAL.TXT.
  32.  
  33.  
  34. Unsort should be making it's way by email to all registered users of my 
  35. OverPower deckbuilding software, OverLord. It should also show up shortly at:
  36. ftp.uwp.edu in the directory /pub/incoming/games/cards (to later probably be 
  37. moved to: /pub/msdos/games/cards)
  38.