Bug 204 - Read game position from external source (file, url)
: Read game position from external source (file, url)
Status: NEW
Product: havannah
General
: unspecified
: PC Linux
: P5 enhancement
Assigned To: Johannes Waldmann
:
:
:
  Show dependency treegraph
 
Reported: 2009-01-22 14:44 CET by Johannes Waldmann
Modified: 2009-01-22 14:44 CET (History)
0 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Waldmann 2009-01-22 14:44:43 CET
it should be possible to read a game position from an external source,
for analysis by the engine. 

then, engine outputs next move.
which could be compared to some known result, 
for automatic testing (e.g. before releases)


useful arguments/options:

* argument: data source (file or url)
* option: analyze position after a certain move number
* option: thinking time


what is the input format:

* sequence of commands in the current dfa server protocol 
  (Der_andere_zieht (Put K17), Du_ziehst ...)

* sgf (if applicable)

* mindsports applet format

<param name="White_1" value="d5">
<param name="White_1_comment" value="thanks for the challenge">
<param name="Black_1" value="e9">
<param name="Black_1_comment" value="You're wellcome.Thanks for accepting. Have
a nice game">
<param name="White_2" value="g7">
<param name="White_2_comment" value="">
<param name="Black_2" value="k16">
<param name="White_3" value="c8">

(Anselm has a java parser for this already?)

* little golem txt format (is this sgf?)

(;FF[4]EV[havannah.rt.2008.7.6]PB[Hollo]PW[ypercube]SZ[8]RE[W]GC[ game
#959987]SO[http://www.littlegolem.com];W[H8];B[L8];W[J9];B[J10];W[I11];B[I10];W[K9];B[M7];W[K10];B[J11];W[K11];B[J12];W[I9];B[G10];W[E9];B[G11];W[H13];B[F8];W[F12];B[I14];W[H15];B[G13];W[G12];B[H14];W[C6];B[E6];W[D5];B[D8];W[E8];B[D6];W[C5];B[D9];W[D7];B[E10];W[B7];B[B8];W[A7];B[E5];W[D4];B[E4];W[C2];B[A1];W[E3];B[D3];W[D2];B[C3];W[B2];B[B3];W[A2];B[A3];W[G4];B[F7];W[H3];B[F9];W[H2];B[H10];W[F3];B[J13];W[H4];B[F13])