[computer-go] GTP3 should be UGI
Chrilly
c.donninger at wavenet.at
Wed Apr 11 07:37:51 PDT 2007
I am implementing currently for the Suzie-GUI GTP-2. I think this protocoll
has a number of shortcomings.
a) There is only a very strange way to setup an arbitrary position.
b) A state must be maintained between moves.
c) There is no way to get a main-variaton and the score of a move (Not yet
invented in most Go-programms, but a must have for search based programms).
UCI is the "Universal Chess Interface" originally developed by Stefan
Meyer-Kahlen and Rudolf Huber (see attached specification). It has become
the defacto standard in chess. This interface is in my opinion much better
than GTP.
I think GTP-3 should be modelled as close as possible to UCI. The
move-format has to be changed and the parameters "komi" and "boardsize" have
to be added.
The format to setup a position has also be changed slightly. An adaption can
be found in SuzieFen.txt.
There is no need for a handicap command, because this is just a special case
of setting up an arbitrary position.
Chrilly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uci.zip
Type: application/octet-stream
Size: 8553 bytes
Desc: not available
Url : http://computer-go.org/pipermail/computer-go/attachments/20070411/ba9cb525/uci.obj
-------------- next part --------------
//The Position must be specificed in the Go-FEN notation. Its an adaption of the FEN-notation of chess.
//This notation was created for Suzie and is not used so far in other Go-Programms.
Go-FEN: <BoardDimension><Board><Blanks><SideToMv><Blanks><KO-Point><Blanks>
<white-Captured-Stones><Blanks><black-Captured-Stones><Blanks><Halfmoves>
Dimension: "09/"|"13/"|"19/" // The '/' Seperator must be written literaly.
// Currently only dimension 19 is supported.
Board: <Row19>'/'<Row18>'/'......<Row1>'/' // For Dimension 19. Otherwise only the lower rows.
Row: {<StoneId>|<Number of consecutive empty points>}
StoneId: 'w'|'b'.
Number of empty points: '1'|'2'|....|'19';
The stones/empty points are interpreted from left (File a) to right (File s). The
stones and the empty-points must sum up to the dimension (19).
Differences to chess: Board dimension and only 2 pieces 'w'|'b'. Otherwise identical.
SideToMv: 'w'|'b'.
/KOPoint: <Point-Id>|'-'
'-' means: There is no KO-Point.
Point-Id. <'a'|'b'...|'s'><'1'|'2'...|'19'>
Same Go-Programms skip the 'i' coordinate. The coordinates go there from 'a'...'t'.
But Suzie uses (at least internally) 'a'...'s'. The left lower-corner is 'a1',
the right upper corner 's19'.
wCaptured-Stones: <Number>
bCaptured-Stones: <Number>
Halfmoves: <Number>
More information about the computer-go
mailing list