═══ 1. PM Gnu Chess 4.0 ═══ PM Gnu Chess4.0 v0.9 is a Presentation Manager application which uses GnuChess 4.0 patch level 65 as the chess engine. The program is based on previous efforts to port gnu chess 3.1 to Windows by Darly K. Baker and OS/2 v1.2 by Kent Cedola. Start with Kent Cedola's code, here are what I did: o Rewrote the most part of the main module (pmchess.c). o Got gnuchess 4.0 chess engine work with PM GUI (hard part, to understand someone else's thousands of lines of source code is not easy after all) o Used Multithreaded programming technique (OS/2 programming is fun) o Added continuously scalable board and piece (tricky) o Redesigned menu logic o Redesigned the pieces o Implemented opening book to pmchess o Added save, load and list game features o Added language file to display some of information o Added on-line help o Fixed bugs caused by multi-threading (This is hard part, since GDB doesn't do multi-thread debug) o Fixed many other bugs (time consuming) o Added STOP and REFRESH commands I would like to thank Kent Cedola and Daryl Baker for their hard work to convert GNU Chess from a character mode to a GUI world in the first place. Without their effort, this work will take considerably long time. Have fun with PMCHESS! Yibing Fan ═══ 2. File Menu ═══ The File menu contains commands that you use to start a new game, open, and save games. In addition, it also contains the command that you use to exit the PM Gnu Chess4.0. The following commands appear in the File menu: New Start to play a new game Open Opens a saved game or an unfinished game Save Saves current game Save As Saves the current game with different format Exit Quits the PM Gnu Chess 4.0 ═══ 3. New ═══ You start to play a new game with PM Gnu Chess4.0. ═══ 4. Open ═══ You can open a saved game that exists on any drive or in any directory by using the Open command. To open a game, do the following: o Select the File menu and choose the Open command. A dialog box appears, showing you a list of files in the current directory. ═══ 5. Save ═══ You use the Save command to save a game. To save a current game, do the following: o Select the File menu and choose the Save command. ═══ 6. Save As ═══ You use the Save As command to save a game with different format so that other programs can read the game.(plan to save as PGN) Follow these steps to save a game to PGN: 1. Select the File menu and choose the Save As command. A dialog box appears, prompting you for a new filename. ═══ 7. List ═══ save current game in chess.lst. To list game to chess.lst, do the following: 1. Select the File menu and choose the List command. ═══ 8. Exit ═══ You quit the PM Gnu Chess4.0 by using the Exit command. To quit the PM Gnu Chess4.0, do the following: 1. Select the File menu and choose the Exit command or type Ctrl+x. ═══ Help for Open ═══ ═══ Help for Open ═══ 1. Select the down arrow to the right of the Drive list to display all the drives on your system. 2. Select a drive from the Drive list. 3. Select a directory from the Directory list. 4. Select a file name from the File list or type in a file name and select the Open pushbutton to display the file you want to edit. For specific help, select a topic below. ═══ List of Fields ═══ File name Type of file Drive File Directory Open pushbutton ═══ Help for File name ═══ ═══ Help for File name ═══ Type the name of the file you want to open in the File name field and select the Open pushbutton. For more help, select a topic below. ═══ List of Fields ═══ File name Type of file Drive File Directory Open pushbutton General help ═══ Help for Type of file ═══ ═══ Help for Type of file ═══ Select the down arrow to the right of the Type of file field to display the available file types. The sample has set this field for all file types. For more help, select a topic below. ═══ Help for Drive ═══ ═══ Help for Drive ═══ The Drive list displays the drives on your system. Select the drive that contains the files you want to edit. For more help, select a topic below. ═══ Help for File ═══ ═══ Help for File ═══ The File list displays all the files in the directory you selected from the Directory list. Select the file you want to open. For more help, select a topic below. ═══ Help for Directory ═══ ═══ Help for Directory ═══ The Directory list displays the directories on the selected drive. Select a directory to display the list of files from that directory in the File list box. For more help, select a topic below. ═══ Help for Open ═══ ═══ Help for Open ═══ Select the Open pushbutton to display the file you want to edit. For more help, select a topic below. ═══ Help for Save ═══ Use Save to store the file you are editing. After the file is saved, the text remains in the window so that you can continue editing it. Note: If you are editing a new file, select the Save or Save as choices to display the Save as pop-up so that you can name the file you are editing. A file must have a title to be saved. ═══ Help for Save as ═══ Use Save as to name and save a new file or to save an existing file under a different name, in a different directory, or on a different disk. ═══ Help for Save as ═══ ═══ Help for Save as ═══ 1. Select the down arrow to the right of the Drive list to display all the drives on your system. 2. Select a drive from the Drive list. 3. Select a directory from the Directory list. 4. Type the name of the file you want to save in the File name field and select the Save pushbutton. For specific help, select a topic below. ═══ List of Fields ═══ File name Type of file Drive File Directory Save pushbutton ═══ Help for File name ═══ ═══ Help for File name ═══ Type the name of the file you want to save in the File name field and select the Save pushbutton. For more help, select a topic below. ═══ List of Fields ═══ File name Type of file Drive File Directory Save pushbutton General help ═══ Help for Type of file ═══ ═══ Help for Type of file ═══ Select the down arrow to the right of the Type of file field to display the available file types. The sample has set this field for all file types. For more help, select a topic below. ═══ Help for Drive ═══ ═══ Help for Drive ═══ The Drive list displays the drives on your system. Select the drive that contains the files you want to save. For more help, select a topic below. ═══ Help for File ═══ ═══ Help for File ═══ The File list displays all the files in the directory you selected from the Directory list. Select the file you want to rename and save. For more help, select a topic below. ═══ Help for Directory ═══ ═══ Help for Directory ═══ The Directory list displays the directories on the selected drive. Select a directory to display the list of files from that directory in the File list box. For more help, select a topic below. ═══ Help for Save ═══ ═══ Help for Save ═══ Select the Save pushbutton to save the file to the drive and directory you selected and with the file name you specified. For more help, select a topic below. ═══ 9. Edit Menu ═══ Enter text for the main Edit Menu help screen here. ═══ 10. Undo ═══ Take back a ply. The menu is disabled whenever computer is thinking. If deep thinking mode is on, use Ctrl+S to stop computer thinking then issue undo or remove. After you'v finished, Ctrl+D to turn deep thinking back on. ═══ 11. Remove ═══ Take back one move. The menu is disabled whenever computer is thinking. If deep thinking mode is on, use Ctrl+S to stop computer thinking then issue undo or remove. After you'v finished, Ctrl+D to turn deep thinking back on. ═══ 12. Move! ═══ Force computer to make move immediately. ═══ 13. Stop! ═══ Stop computer thinking and set deep thinking mode off. ═══ 14. No Computer ═══ User enter moves. Computer acts like a referee. Useful for setup an opening position you want computer to anylize. After you reach the position, use Side menu bar to let computer take over. e.g. Side/White computer will take the position as White to play and play White side regardless who's turn. Use Side/Switch normally. ═══ 15. Setup Board ═══ Setup board. Click on a piece and then click on the destination square put the piece to the square. Double or fast triple click on a piece move the piece off the board. Caution, once piece is moved off the board you can't get it back! I will fix this on next release. ═══ 16. Options Menu ═══ Options. ═══ 17. Tone ═══ Toggle beep mode on and off. ═══ 18. Coordinates ═══ Toggle coordinates on and off. ═══ 19. Search Stats ═══ Display search status. ═══ 20. Test Speed ═══ Test computer evaluation speed. ═══ 21. Hash ═══ Toggle hash file on and off. ═══ 22. Autoplay ═══ Toggle autoplay on and off. No human mode. ═══ 23. Book ═══ Toggle opening book on and off. ═══ 24. Awindow ═══ Set Alpha window. Effect the search band width. ═══ 25. Bwindow ═══ Set beta window value. Effect the search band width. ═══ 26. Contemp ═══ Hmm.. I have to read the code again. ═══ 27. Skill menu ═══ Set skills. ═══ 28. Time ═══ Set time control. Default: 60 moves in 5 minutes ═══ 29. Random ═══ Toggle Random on and off. Effect how computer chose between line to play. ═══ 30. Deep thinking ═══ Set Computer think on the opponent's time. Default: not thinking on opponent's time. Ctrl+D toggle this mode. ═══ 31. Depth ═══ Set search depth. Default 29. ═══ 32. Side ═══ Chose which side to play, which color is at bottom. ═══ 33. Reverse ═══ Reverse board. Set whether black or White on bottom. ═══ 34. Switch ═══ Switch side with computer. ═══ 35. WHITE ═══ Computer to play current position as white. ═══ 36. Black ═══ Computer to play current position as black. ═══ 37. Refresh ═══ Refresh the board. Accasionlly, after computer makes move, the piece is missing on the board. Do refresh or Ctrl+F. ═══ 38. Help Menu ═══ Insert standard Help menu text here. ═══ 39. Index ═══ Place information for the Help Index menu item here. ═══ 40. General help ═══ Place information for the General Help menu item here. Note: This screen will usually be handled by the default. ═══ 41. Using Help ═══ Place information for the Help Using Help menu here. ═══ 42. Keys ═══ Place information for the Help Keys menu item here. ═══ 43. Tutorial ═══ Place information for the Tutorial menu item here. ═══ 44. Product information ═══ Place information for the Product information menu item here. ═══ 45. Product information dialog ═══ This dialog displays information about the application, such as version number and copyright notice. ═══ 46. OK ═══ The OK button closes the Product information dialog.