home *** CD-ROM | disk | FTP | other *** search
/ The Best of the Best / _.img / 02034 / now / now.hlp < prev   
Text File  |  1991-12-14  |  20KB  |  607 lines

  1.                                NOW
  2.                      A COMPUTER CHESS PROGRAM
  3.                              (DRAFT)
  4.                                  
  5.                      Imagination Enterprises
  6.                            Mark Lefler
  7.                           December 1991
  8.                            Version 0.1
  9.                                  
  10.  
  11. Introduction
  12.  
  13.      NOW is a state-of-the-art (?) computer chess playing program
  14. for the IBM-PC line of computers.  NOW will work on any 8088,
  15. 80286 or 80386 machine with CGA, EGA or VGA displays.  For text
  16. only displays, the program will use a simple text only
  17. representation of the board instead of the fancy graphics.
  18.  
  19.      NOW is not a profit making program.  Funds received on this
  20. shareware program are used to pay duplication costs, salaries of
  21. a business manager and to buy new development hardware.  Your
  22. contribution will help develop a stronger, more feature-filled
  23. program.  End of commercial.
  24.  
  25.      NOW did rather well in the 1991 Microcomputer Chess
  26. Championship.  It finished with the best score for an amateur
  27. program running on a PC with only M-CHESS beating it on a PC. 
  28. Other programs which beat NOW ran on very fast RISC-based
  29. processors, much faster than NOW's 40 MHz 80386 machine.
  30.  
  31.      NOW is not meant to compete with other powerful commercial
  32. programs, such as M-CHESS, ZARKOV or Chessmaster 2100.  It is
  33. simply a shareware option.
  34.  
  35.      You will find that NOW has some pretty nifty features, such
  36. as an easy-to-use user programmable opening book.  You can even
  37. help me in developing a stronger program (See the COMPUTER GEEKs
  38. section later on).
  39.  
  40.      How strong is NOW?  I really do not know.  In my testing, it
  41. has easily beaten many commercial stand alone chess machines,
  42. when played on my 40 MHz 80386 computer.  I know that NOW seems
  43. stronger than:
  44.  
  45.      Fidelity Designer 2000
  46.      Radio Shack Chess Champion 2150 and 1450
  47.      Saitek's Cavalier
  48.      and other, less strong programs.
  49.  
  50. Based on its strength against other commercial chess computers, I
  51. estimate its playing strength at about 1500 on a PC, 1600 on a
  52. turbo PC, and higher on faster hardware (perhaps 2100 on a 33 MHz
  53. 80486).  NOW also does rather well in some standard computer
  54. chess problems.
  55.  
  56.    NOW was named since it is the program I am working on now.
  57.  
  58.  
  59. GETTING STARTED
  60.  
  61.      Note that some keyboards mark the <Return> key with a
  62. <Enter> label or a bent arrow pointing to the left.  Just
  63. substitute <Enter> for <Return> in the instruction below.
  64.  
  65.      You can copy NOW to a hard disk.  Just make sure to copy all
  66. of these files over to the other disk:
  67.  
  68.    NOW.EXE      (The program itself)
  69.    NOW.BOK      (NOW's opening book)
  70.    NOW.HLP      (NOW's help file--this manual on disk)
  71.    CGA.BGI      (For CGA graphics)
  72.    EGAVAG.BGI   (For EGA or VGA graphics)
  73.  
  74. You can give friends copies of this version of NOW, provided that
  75. these instructions stay with the copies and you charge absolutely
  76. no fee.  Imagination Enterprises retains all overseas
  77. distribution rights to NOW.
  78.  
  79.  
  80. USING NOW
  81.  
  82.      Load NOW by typing:
  83.  
  84.      NOW <Return>
  85.  
  86.      You have several options.  If you include an 'X' after the
  87. program name, you will see "extra" information while NOW runs
  88. such as the program's current best move and number of positions
  89. searched.  You can get a list of these options using:  NOW ? from
  90. the command line.
  91.  
  92.  
  93. MAKING MOVES
  94.  
  95.      To play white, just type in your moves using algebraic chess
  96. notation (Column, Row).  For example, to move the king's pawn two
  97. spaces forward, type:
  98.  
  99.      e2e4
  100.  
  101.      You do not need to press <Return> to finish your entry of a
  102. move.  To play black, see the section Switching Sides below.
  103.      
  104.      If you have a mouse, then just point to the piece you want
  105. to move, and click and release the left mouse button.  Next point
  106. to the square you want to move it to and click again.  You must
  107. load your Microsoft Mouse compatible driver before beginning the
  108. NOW program (see the instructions that came with the mouse).  The
  109. program will ignore from clicks on pieces you cannot move.
  110.  
  111. Who's Move Is IT?
  112.  
  113.      It is easy to see who is to move next by looking at the
  114. chess clocks in the upper right corner of the screen.  You will
  115. see a > symbol next to the side about to move.  For example, 
  116.  
  117.      >W:You    3:45
  118.       B:NOW    2:23
  119.  
  120. means that it is now your move, you are playing white (W) and you
  121. have taken 3:45 of time when you last made a move.  In the lower
  122. right corner is the elapsed time you have taken so far on this
  123. move.  This will be added to the total elapsed time once you make
  124. a move.
  125.  
  126. Special Moves
  127.  
  128.      Enter castling moves by moving the king two squares (the
  129. rook will tag along).  En-Passant moves are entered by moving the
  130. pawn--the opponent's pawn will be taken off for you.  When a pawn
  131. reaches the eight rank, you will be asked to select a new piece
  132. (N-Knight, B-Bishop, R-Rook or Q-Queen).
  133.  
  134.      If the board gets messed up, the d<Return> command will
  135. redisplay the entire board.
  136.  
  137.      Do not remove the disk while NOW is running since NOW needs
  138. to get and save information on the disk while it is running.
  139.  
  140.  
  141. SWITCHING SIDES
  142.  
  143. To switch sides (for example, to play black), type:
  144.  
  145.      s<Return>
  146.  
  147. The program will change sides, and immediately begin thinking of
  148. a response.  Using the EDITOR and the S command, you can enter
  149. chess problems and have NOW look for a solution.  You may also
  150. want to use the Reverse Board (rb) command to turn the board
  151. around.
  152.  
  153.  
  154. REVERSING THE BOARD
  155.  
  156. You can reverse the board (rotate it) by typing:
  157.      
  158.      rb<Return>
  159.  
  160. You may want to do this if you are playing black.
  161.  
  162.  
  163. GETTING HELP
  164.  
  165.      You can press f1 or ? to get a screen of help information. 
  166. To return to the game, press ESC.  If you would like to read the
  167. online manual, press any other key.  You can also get help by
  168. clicking the mouse on the f1-help label in the upper right corner
  169. of the screen.
  170.  
  171.  
  172. FORCING NOW TO MOVE
  173.  
  174.      You can force NOW to make a move immediately by pressing the
  175. ESC key while NOW is calculating.
  176.  
  177.  
  178. SAVING A GAME (POSITION)
  179.  
  180.      To save a current game position, type:
  181.  
  182.      sg<Return>
  183.  
  184. You will then be prompted for a name to call the saved position.
  185. sg is short for save game.  You will find that the game save
  186. format is easy for a human to read, and can be imported into text
  187. files or printed out for a record of your moves.  This format is
  188. based on the format that a very powerful commercial chess program
  189. called ZARKOV uses.
  190.  
  191.  
  192. LOADING A GAME (POSITION)
  193.  
  194. To load back in a game, type:
  195.  
  196.      lg<Return>
  197.  
  198. then the file name.  'lg' is short for load game.
  199.  
  200.  
  201. SETTING THE TIME
  202.  
  203.      With NOW, there are four different time modes.  You can set
  204. the Average Time per move, play a traditional Tournament Time
  205. controlled game, play with Equal Times or set the total Game Time
  206. for each side.  The current default is 300 seconds for the entire
  207. game--good for speed chess games.  Note that NOW will not call
  208. for a win (or make obnoxious beeps at you), if you go over time.
  209.  
  210.      In each of these modes, you can enter times in seconds
  211. (like: 36), or minutes and seconds (like 1:00) or hours, minutes
  212. and seconds (like 2:00:00).
  213.  
  214. To set the average time per move, type:
  215.  
  216.      t<Return>
  217.  
  218. (or at<Return>) and enter the new time.
  219.  
  220.  
  221. SETTING TOTAL GAME TIME
  222.  
  223.      You may also set the total time each side has for a game by
  224. typing:
  225.  
  226.      gt<Return>
  227.  
  228. then entering the time like above.  For example, for a one hour
  229. per side game, you could enter 3600 or 1:00:00.  For a 5 minute
  230. per side game enter 300 seconds or 5:00.  NOW will try to play
  231. all of its moves before this time limit expires (sudden death
  232. mode).
  233.  
  234.  
  235. EQUAL TIME MODE
  236.  
  237.      You can have NOW take approximately the same amount of time
  238. to make its moves as you do by using the Equal Times command:
  239.  
  240.      et<Return>
  241.  
  242. NOW will try to match your time per move.  This is a good mode to
  243. use if you are not sure how long you are going to take for each
  244. move of the game.
  245.  
  246.  
  247. TOURNAMENT TIME MODE
  248.  
  249.      To set tournament time control, use:
  250.  
  251.      tt<Return>
  252.  
  253. NOW will make its first 40 moves within 2 hours, and each
  254. additional 20 moves within an additional hour.
  255.  
  256.  
  257. SETTING THE CHESS CLOCKS
  258.  
  259. You can set the elapsed Human Time (chess clock) by typing
  260. ht<Return>.  Then give the total human elapsed time.
  261.  
  262. You can set the current Computer's Elapsed Time using ct.
  263.  
  264.  
  265. TURNING THE BEEPER/MUSIC ON AND OFF
  266.  
  267. To turn the Beeper on and off, type:
  268.  
  269.      b<Return>
  270.  
  271. If the beeper is OFF, NOW will make a quiet click instead of a
  272. loud beep.
  273.  
  274. To turn the music on or off use the No Music toggle:
  275.  
  276.      nm<Return>
  277.  
  278.  
  279. EXTRA INFORMATION
  280.  
  281.      To display or stop displaying the "Extra" information, type:
  282.  
  283.      x<Return>
  284.  
  285. This will show somewhat cryptic information about the computer's
  286. search for a move, including its guess at the game continuation,
  287. search depth, score for the position, number of positions (nodes)
  288. examined and so on.  You may find this inside analysis useful in
  289. examining master level games.
  290.  
  291. The score NOW shows is based on how well it thinks it is doing. 
  292. A positive score means that NOW thinks it is ahead.  a Pawn is
  293. worth about 1, and Rook about 5 and so on.  Score about 80 or
  294. below -80 mean a mate is coming up soon.  M in 5 means NOW thinks
  295. it can mate you in 5 or fewer moves.  You will find more about
  296. the Extra command in the COMPUTER GEEKS section.
  297.  
  298.  
  299. QUITTING OR STARTING A NEW GAME
  300.  
  301. To quit the game or start a new game, type:
  302.  
  303.      q<Return>
  304.  
  305. You will be asked if you want to save the current game.  NOW will
  306. always save the current game to another file called NOW.GAM--
  307. just in case you wish to continue the game again later.  You also
  308. may use the - key to undo the last move, in case NOW has mated
  309. you and you want to try another move.
  310.  
  311. You will then be asked if you want to play another game.  Y will
  312. give you a new game, and N will stop the program.  
  313.  
  314.  
  315. EDITING THE BOARD POSITION
  316.  
  317. To Edit a board position or setup a chess problem, type:
  318.  
  319.      e<Return>
  320.  
  321. You can move the bright square to the desired location using the
  322. arrow keys or by clicking the mouse, then type the following to
  323. place the pieces:
  324.  
  325.      p - pawn
  326.      n - knight
  327.      b - bishop
  328.      r - rook
  329.      q - queen
  330.      k - king  (Note only one king per side)
  331.  
  332. You should always position the kings first.  NOW will warn you if
  333. you try to put another piece on top of the king.
  334.  
  335. You can Switch to the other color by using s.  The last side
  336. changed to will be the color you will have from then on in the
  337. game, or until you switch sides.
  338.  
  339.      A SPACE will delete a piece on the board.
  340.  
  341.      Make sure the current displayed To Move color is set to the
  342. color you want to move next  (you can use s on an empty square),
  343. then press ESC to get out of edit mode.  When you exit edit mode,
  344. NOW assumes you want to move next.  If you want NOW to begin
  345. calculating, use the s-switch sides command described above.
  346.  
  347.  
  348. TAKING BACK A MOVE
  349.  
  350. To take back a move use the - (minus) key or type:
  351.  
  352.   un<Return>
  353.  
  354. If NOW is calculating a move, you must first press ESC to force
  355. it to move.  Then press - to undo NOW's last move, and - again to
  356. undo your last move.  You can backup the game all the way to the
  357. beginning, if you want.  The "tb" (Take Back) command will take
  358. back a full move for each side.
  359.  
  360.  
  361. THE GAMES FILE
  362.  
  363.      While NOW runs, it will store information about your games
  364. in a file named 'GAMES'.  You can delete this file if you wish,
  365. or use it to keep a record of your games against NOW.  To get a
  366. printout of this file, from DOS type:
  367.  
  368.      copy GAMES prn
  369.      
  370. You can also get e printout of the current game from within the
  371. program by using the save game (sg) command.  Simply save to the
  372. printer by giving prn for the file name.
  373.  
  374.  
  375. COMMENT MODE
  376.  
  377.      You can also add comments to the GAMES file while using
  378. NOW.  Just type c<Return> and you will be prompted for your
  379. comments a line at a time.  Just press <Return> on a blank line
  380. when you are done entering comments.  The comments will be added
  381. to the GAMES file.
  382.  
  383.  
  384. NO COMPUTER RESPONSE MODE
  385.  
  386. If you do not want the computer to make a response to your moves,
  387. then type:
  388.  
  389.      nc<Return>
  390.  
  391. for No Computer.  Another nc will reset the computer so it will
  392. respond after you make a move, or type s to switch sides.
  393.  
  394. You can use this mode to have the computer act as a referee,
  395. since it will not allow any illegal moves.  It is also useful in
  396. entering a series of move, for example to have NOW analyze Master
  397. games or games you have played.  Make sure to turn off No
  398. Computer when you want NOW to play against you again.
  399.  
  400.  
  401. SETTING COLORS
  402.  
  403.      You can set the colors of pieces and squares using the
  404. following commands:
  405.  
  406.      wc<Return> - White Piece Color
  407.      bc<Return> - Black Piece Color
  408.      dc<Return> - Board Dark Square Color
  409.      lc<Return> - Board Light Square Color
  410.  
  411. In each case, you will need to enter a number for the new color
  412. you want.  Use 0-3 for CGA and 0-15 for EGA/VGA.  Some color
  413. combinations may make pieces vanish so be careful.  The default
  414. color set on EGA/VGA is the classic white and black pieces on a
  415. green and beige board used in real tournaments--I can't stand the
  416. purple and orange combinations used in some programs, but I give
  417. you the choice to change them.  The changes are automatically
  418. stored in the NOW.SET file, for the next time you run NOW.
  419.  
  420.  
  421. THE OPENING BOOK
  422.  
  423. To turn on or off the opening book, type:
  424.  
  425.   ob<Return>
  426.  
  427. Unlike most commercial programs, NOW stores actual positions in
  428. its opening book.  This lets NOW find all possible transpositions
  429. very quickly.  You can't fool NOW by making the some position
  430. using a different series of moves.
  431.  
  432. NOW has a very neat feature, where you can add more positions to
  433. the opening book.  To do this, make the moves on the on screen
  434. board (Hint:  the nc, no computer replay mode makes this easy). 
  435. Next type:
  436.  
  437.   ap<Return>
  438.  
  439. to Add the Position.  You will be asked for a score for that
  440. position.  Enter a number from -100 to 100.  Higher numbers mean
  441. that the program will think the position is better for the side
  442. which just moved.  You can change the score of a position in the
  443. opening book by using cs (Change Score).
  444.      By carefully changing scores, you can encourage the program
  445. to play certain specific openings.  Just use the nc mode to make
  446. the moves and change the score with cs.  
  447.      NOW currently will store about 4500 positions in its opening
  448. book.  Future version will allow bigger user books.  If you want
  449. to delete a position from the book, use the dp command--but you
  450. should make sure you keep a copy of the old book file (NOW.BOK)
  451. just in case.
  452.  
  453.  
  454. REPLAYING A GAME
  455.  
  456.      You can have NOW "rewind" and replay a game using the Replay
  457. Game command:
  458.  
  459.      rg<Return>
  460.  
  461. The board will be restored to the starting position.  Each time
  462. you press +, NOW will make one more move in the game.  You can
  463. stop the replay at any time by pressing ESC.  You might want to
  464. do this if you wish to play from one position in a different way
  465. to see what would happen.
  466.  
  467. You can have NOW play each move in an animated fashion by
  468. pressing a.
  469.  
  470.  
  471. MAKING NOW PLAY WORSE
  472.  
  473. If NOW plays too good for you, you can greatly reduce its playing
  474. ability two ways:
  475.  
  476. 1. Set the average time (t command) to about 5 seconds or less. 
  477. The less time NOW has to think, the poorer it will play.
  478.  
  479. 2. Set the search depth to a small number by typing:
  480.  
  481.      sd<Return>
  482.  
  483. then enter a small number, like 1 or 2.  This will limit the
  484. depth NOW searches.
  485.  
  486.  
  487. MATE SEARCH MODE
  488.  
  489.      NOW has a special Mate Search mode.  This mode will force
  490. NOW to look only for mates.  Turn on Mate Search by typing:
  491.  
  492.      ms<Return>
  493.  
  494. You will also want to set the time you want now to search using
  495. the Average Time (at) command above.  To get NOW to begin
  496. calculating, use the s Switch Sides command.  Make sure to use ms
  497. to turn off Mate Search if you want to resume normal play.  NOW
  498. will stop searching when its per move time limit is reached, or
  499. when it Search Depth limit is reached, so to search for deep
  500. mates, make these numbers big.
  501.  
  502.  
  503. FOR COMPUTER GEEKS ONLY
  504.  
  505.      Warning!  This section goes into hairy technical detail and
  506. may cause neural damage!  Read with care!
  507.  
  508.      For the computer chess geeks among you, NOW uses the
  509. Alpha-Beta algorithm with selective search extensions.  On AT's
  510. and faster machines, it typically searches 5-6 plies.  This
  511. version of NOW includes more selectivity and extensions for
  512. certain types of moves than earlier versions.  NOW is written in
  513. Turbo Pascal, with a few lines in assembly for speed.
  514.  
  515.      Here is what some of the Extra info mentioned above means:
  516.  
  517.   5/03/35   - means that NOW has examined up to the third move
  518. out of 35 in the fifth ply of its search.  Of course some moves
  519. like checks and captures are examined more deeply than this.
  520.  
  521.    3567 n/s - means that NOW examined about 3500 nodes
  522. (positions) each second while selecting its last move.
  523.  
  524.   34343     - means NOW examined about 35,000 nodes when making
  525. its last selection.
  526.  
  527.  235456 mvs - means that NOW generated this number of moves in
  528. its search (but only serached the number above).
  529.  
  530.   The line of moves found on the right edge of the screen on
  531. EGA/VGA screens it the principal variation found the last time
  532. NOW computed a move.  The current principle variation will be
  533. found below the clocks, along with an estimate of NOW's current
  534. score.
  535.  
  536.      The GUESS: e2-e4 line indicates that NOW thinks you will
  537. play e2-e4 on your next move.  It tries out this move and
  538. calculates a response for it while you are deciding on your move.
  539.  
  540.      You can help make NOW more powerful by using a secret
  541. feature called "Auto Testing".  To do this, you must make a
  542. special .BAT file like thise:
  543.  
  544. :START
  545. NOW -z 10 -ds 3 -sm1 5 -sm2 10 -sm3 20
  546. NOW -z 10 -ds 2 -sm1 10 -sm2 20
  547. goto START
  548.  
  549. Don't worry.  I will explain all of these number to you.
  550.  
  551. This file should be called something like AUTO.BAT.  This file
  552. will automatically start up the versions of NOW, one after the
  553. other and have them play against each other.  The results of the
  554. match will be put in the file CHESS.TST.  This file will contain
  555. a listing of winners or DRAW for each game played.  By using the
  556. USCF rating formula, you can calculate which program is
  557. strongest, and by how much:
  558.  
  559. Rating = 400 * (# wins - # losses)/# games
  560.  
  561. Now for the numbers after NOW above:
  562.  
  563.   -z 10 means to autoplay with an average of 10 seocnds per move.
  564.   -ds 3 means to use a selective depth of 3.  Higher this number,
  565. the more moves that are thrown out, at the benefit of a deeper
  566. search but at the risk of throwing out a possibly good move.
  567.   -sm1 5 means use a Selective Margin of 5 for depth 1.  The
  568. smaller this number, the more moves are thrown out.  The bigger
  569. this number, the fewer moves are thrown out.
  570.  
  571. Here are some reasonable starting numbers:
  572.  
  573.   NOW -z 5 -ds 3 -sm1 5 -sm2 5 -sm3 50
  574.  
  575. If you come up with better numbers, let me know so I can improve
  576. the program.  You should play at least 100 games in each round to
  577. eliminate statistical variations.  You can get NOW to log all of
  578. the moves in file by using the -lg command.  For instance:
  579.  
  580.   NOW -z 5 -lg FRED
  581.  
  582. will have NOW make a move, and store info about this move in the
  583. file named FRED.
  584.  
  585. I want to thank the author of the wonderful program ZARKOV (John
  586. Stanbeck) for his suggestions about auto testing.  Buy his
  587. program!
  588.  
  589.  
  590. QUESTIONS/COMMENTS/HOW TO SEND MONEY
  591.  
  592.      NOW is still under development.  To report a bug, give me
  593. comments and program suggestions or make a contribution towards
  594. its development, write to:
  595.  
  596.           Imagination Enterprises
  597.           11877 Mintwood Ct.
  598.           Orlando, FL  32837
  599.           
  600. Make checks payable to Imagination Enterprises.  The suggested
  601. contribution is $20, or the entire contents of your wallet.   A
  602. special, faster IBM-AT/386 version is available from the same
  603. address.  Please specify 3.5" or 5 1/4" disk.
  604.  
  605. You can contact Imagination Enterprises with the address: IMAGINE
  606. on GeNIE.
  607.