⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.goban

📁 操作系统SunOS 4.1.3版本的源码
💻 GOBAN
字号:
GobanSynopsisgoban [name]Features	- save and restore games.	- step forwards and backwards in moves of a game.	- automatic capture of stones.	- detects ko violations and suicide moves (illegal).	- laserwriter output for board diagrams.	- confirmation required for irrevocable actions	- dynamic resizing of tool window	- automatic handicap placement for 19 x 19 board (up to	  17 stones).	- can start games with placed stones for go problems.	- default game from "Master of Go" by Kawabata.DescriptionGoban is Japanese for "go board".  It is an automatic board, butdoes not play go.  If you invoke it with no arguments it willinitialize itself with the game described in the book "TheMaster of Go", by Yasunari Kawabata, winner of the Nobel Prizefor Literature.  If you give it an argument, it will use that asa base to construct names for files of which there are two(assume "name" is the argument):  "name.game" and "name.brd"."name.game" is read and written by goban, and is the record ofthe game, including handicaps and initial positions of stones(for go problems).   "name.brd" is written only and is an asciirepresentation of the board and the moves, suitable forelectronic mailing.There are four windows.  The two wide ones at the top of thetool are for messages.  The lower part of goban consists of aboard diagram and a control panel.The top window explains what actions the mouse buttons performat a given moment.  When confirmation of a command is requiredthe message will say "Confirm:  right mouse button.  Deny:  Leftand center buttons."  The second window displays the number ofcaptured stones.Stones are placed on the board by selecting the grid point withthe cursor and pressing the left button.  In the control panelthe color of the stone of the player to play next ("Next:") willchange.  If the center button is pressed in the board area,goban will backup a move (undo it).  The right button causesgoban to move forward in the game.  Stepping backwards andforwards will not alter the game until the left button ispressed to place a stone.  Then any moves beyond the currentposition will be discarded.The control panel provides the following controls:Moving (Placing):  Pressing this button changes the state frommaking moves to placing stones or vice versa.  The current stateis indicated.  If stones are being "placed" then the color ofthe next stone to be placed will not change unless the stonebeside the label "Next:" (or the label) is hit with the leftmouse button.  Placing stones should be done only after a"Reset" has been issued (see "Reset") (but this is notenforced).Pass:  The "pass" move is made (no stone is placed) and it isthe next player's turn.Replay:  Redraws the board.Close:  Closes goban to iconic state.Quit:  Exit the goban program.  Must be confirmed with right mousebutton.Reset:  Reset the state of the game to it's initial state whichis that no moves have been made, but the handicap stones are onthe board.  (See "Handicap").  Must be confirmed with rightmouse button.Current Move (Slider):  Replay the game to the move numbercontrolled by the slider when the mouse button is released.Handicap (Slider):  Control the number of handicap stones thatwill be automatically placed if "Reset" is issued.Game:  Type in and change the name that is used to form the filenames used to save the game record and the ascii boardrepresentation.  ("name.game" and "name.brd").Read Game:  Read in a new game record (if the "Game:" name hasbeen changed) or reread the current game record from"name.game".  Must be confirmed with right mouse button.Print:  Goban will send PostScript commands to the printer inthe system that goes by the tag "Plw" (normally the default Sunlaser writer).  A diagram of the board will be printed.Write Game:  Write the current state of the game to "name.game"where "name" is the value of the "Game:" panel button.  Must beconfirmed with right mouse button.Write Board:  Write an ascii representation of the board and themoves to "name.brd" where "name" is the value of the "Game:"panel button.  Must be confirmed with right mouse button.Sample ".game" File (19x19 board, no handicap)190 . .Black D3 Q16 R4 C16 C10 Q3 R3 M3 K16 G16 N16 R10 R8 C6 C7 C3 C4 E3 B3Sample ".brd" File (19x19 board, no handicap)   A B C D E F G H J K L M N O P Q R S T19 . . . . . . . . . . . . . . . . . . . 1918 . . . . . . . . . . . . . . . . . . . 1817 . . . . . . . . . . . . . . . . . . . 1716 . . O . . . O . . * . . * . . O . . . 1615 . . . . . . . . . . . . . . . . . . . 1514 . . . . . . . . . . . . . . . . . . . 1413 . . . . . . . . . . . . . . . . . . . 1312 . . . . . . . . . . . . . . . . . . . 1211 . . . . . . . . . . . . . . . . . . . 1110 . . * . . . . . . . . . . . . . O . . 10 9 . . . . . . . . . . . . . . . . . . .  9 8 . . . . . . . . . . . . . . . . * . .  8 7 . . * . . . . . . . . . . . . . . . .  7 6 . . O . . . . . . . . . . . . . . . .  6 5 . . . . . . . . . . . . . . . . . . .  5 4 . . * . . . . . . . . . . . . . * . .  4 3 . * O * O . . . . . . O . . . O * . .  3 2 . . . . . . . . . . . . . . . . . . .  2 1 . . . . . . . . . . . . . . . . . . .  1   A B C D E F G H J K L M N O P Q R S T  1:	D3	Q16.  3:	R4	C16.  5:	C10	Q3.  7:	R3	M3.  9:	K16	G16. 11:	N16	R10. 13:	R8	C6. 15:	C7	C3. 17:	C4	E3. 19:	B3

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -