gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnugo-devel] Joseki database maintenance


From: Gunnar Farnebäck
Subject: [gnugo-devel] Joseki database maintenance
Date: Thu, 22 Apr 2004 02:51:04 +0200
User-agent: EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/21.3 (sparc-sun-solaris2.9) MULE/5.0 (SAKAKI)

This patch does some minor cleaning of the joseki database sgf files.

* Copyright notice added back for hoshi_keima.sgf
* Copyright notices updated for 2004.
* Uninteresting root properties removed.
* Game names (GN property) improved.
* PL[1] properties corrected to PL[B] in mokuhazushi.sgf.
* Empty comment properties removed.
* Pass moves marked as standard joseki or antisuji moves no longer
  marked. (Didn't make any sense.)

- cleanup of patterns/*.sgf

/Gunnar

Index: patterns/hoshi_keima.sgf
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/hoshi_keima.sgf,v
retrieving revision 1.6
diff -u -r1.6 hoshi_keima.sgf
--- patterns/hoshi_keima.sgf    7 Sep 2003 23:38:47 -0000       1.6
+++ patterns/hoshi_keima.sgf    21 Apr 2004 04:06:28 -0000
@@ -1,8 +1,26 @@
+This is GNU Go, a Go program. Contact address@hidden, or see
+http://www.gnu.org/software/gnugo/ for more information.
+
+Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the Free Software Foundation.
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License as
+published by the Free Software Foundation - version 2.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License in file COPYING for more details.
+
+You should have received a copy of the GNU General Public
+License along with this program; if not, write to the Free
+Software Foundation, Inc., 59 Temple Place - Suite 330,
+Boston, MA 02111, USA.
+
 (;GM[1]FF[3]
-RU[Japanese]SZ[19]HA[0]KM[5.5]
-GN[Hoshi joseki variations]
-DT[1999-05-10]
-SY[Cgoban 1.9.5]TM[-];B[pd]C[0];W[qf];C[#kogeima kakari]
+SZ[19]HA[0]
+GN[Hoshi+keima joseki database]
+;B[pd]C[0];W[qf];C[#kogeima kakari]
 (;B[qh]C[j
 ]MA[mj];C[#hasami]
 (;W[qc]C[S]MA[mj];C[#w invades]
@@ -55,8 +73,7 @@
 ])
 )
 
-(;W[of]C[
-];C[#w jumps];B[nd]MA[mj]C[S]
+(;W[of];C[#w jumps];B[nd]MA[mj]C[S]
 (;W[pi]C[0]
 (;B[qi]MA[mk]C[S];W[pj]MA[ml]C[0]
 (;B[ph]MA[mk]C[S];W[oh]MA[mk];B[qj]MA[ml]C[S];W[pk]MA[mm];B[ql]MA[mm]
@@ -175,7 +192,7 @@
 (;W[pg]C[;!xplay_attack(A,B)
 ]MA[mj]LB[qg:A][pg:B]
 (;B[qg]C[S]MA[mj];W[rf]C[S]MA[mj]
-(;B[og]C[S]MA[mj];W[tt]MA[mj];B[ph]C[S]MA[mj])
+(;B[og]C[S]MA[mj];W[tt];B[ph]C[S]MA[mj])
 
 (;B[of])
 )
@@ -226,8 +243,7 @@
 (;W[qj]MA[nk])
 )
 
-(;W[qd]C[
-];B[qc]MA[mg]C[S];W[rc]MA[mg]C[S]
+(;W[qd];B[qc]MA[mg]C[S];W[rc]MA[mg]C[S]
 (;B[pc]MA[mh]C[S];W[re]MA[ng]C[U
 ];B[rb];W[sb]C[J
 ]MA[lh])
@@ -335,8 +351,8 @@
 W[pb]MA[mi]C[0];B[oa]MA[li]C[U])
 
 (;W[qc]MA[mi]C[0];B[rc]MA[mi]C[U];W[qa]MA[mi]C[0];B[oa]MA[mi]C[U];
-W[pb]MA[mi]C[0];B[oa]MA[mi]C[S];W[pa]MA[mi]C[0];B[tt]MA[mi]C[S];W[se]
-MA[mi]C[0];B[tt]MA[mi]C[S];W[ma]MA[kb]C[0];B[lb]MA[jb]C[U];W[la]MA[jb]
+W[pb]MA[mi]C[0];B[oa]MA[mi]C[S];W[pa]MA[mi]C[0];B[tt];W[se]
+MA[mi]C[0];B[tt];W[ma]MA[kb]C[0];B[lb]MA[jb]C[U];W[la]MA[jb]
 C[0];B[kb]MA[jb]C[U])
 
 (;W[se]MA[mi]C[0];B[qc]MA[mi]C[U];W[rc]MA[mi]C[0];B[sc]MA[mi]C[U]
@@ -344,7 +360,7 @@
 W[na]MA[mi]C[0];B[oa]MA[mi]C[U])
 
 (;W[qa]MA[mi]C[0];B[oa]MA[mi]C[U];W[pb]MA[mi]C[0];B[oa]MA[mi]C[U];
-W[pa]MA[mi]C[0];B[tt]MA[mi]C[S];W[ma]MA[ke]C[0];B[lb]MA[ke]C[U];W[la]
+W[pa]MA[mi]C[0];B[tt];W[ma]MA[ke]C[0];B[lb]MA[ke]C[U];W[la]
 MA[jc]C[0]
 (;B[kb])
 
@@ -402,7 +418,7 @@
 B[rb]MA[li]C[U];W[ra]MA[mi]C[0];B[re]MA[mi]C[U]
 (;W[sd]MA[mi]C[0];B[se]MA[li]C[U];W[rf]MA[mi]C[0];B[sc]MA[mi]C[U]
 (;W[qh]MA[mi]C[0];B[na]MA[mi]C[U];W[oa]MA[mi]C[0];B[sa]MA[mi]C[U];
-W[sb]MA[mi]C[0];B[tt]MA[mi]C[0];W[rd]MA[mi]C[0];B[sd]MA[mi]C[U])
+W[sb]MA[mi]C[0];B[tt];W[rd]MA[mi]C[0];B[sd]MA[mi]C[U])
 
 (;W[sf]MA[mi]C[0];C[#trick_SK1_1127];B[na]MA[mi]C[U];W[oa]MA[mi]C[0];
 B[ph]MA[mi]C[U];W[qh]MA[mi]C[0];B[og]MA[mi]C[U];W[qg]MA[mi]C[0];B[pi]
Index: patterns/hoshi_other.sgf
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/hoshi_other.sgf,v
retrieving revision 1.3
diff -u -r1.3 hoshi_other.sgf
--- patterns/hoshi_other.sgf    21 Jul 2003 16:33:19 -0000      1.3
+++ patterns/hoshi_other.sgf    21 Apr 2004 04:06:28 -0000
@@ -1,7 +1,7 @@
 This is GNU Go, a Go program. Contact address@hidden, or see
 http://www.gnu.org/software/gnugo/ for more information.
 
-Copyright 1999, 2000, 2001, 2002, 2003 by the Free Software Foundation.
+Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the Free Software Foundation.
 
 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as
@@ -17,14 +17,10 @@
 Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111, USA.
 
-
-
-
 (;GM[1]FF[3]
-RU[Japanese]SZ[19]HA[0]KM[5.5]
-GN[Hoshi joseki variations]
-DT[1999-05-10]
-SY[Cgoban 1.9.5]TM[-];B[pd]C[0]
+SZ[19]HA[0]
+GN[Hoshi+other joseki database]
+;B[pd]
 (;B[pj];C[#kosumi tsuke for 6-9 stone games]PL[W]
 (;W[qf]PL[B]
 (;B[qe]MA[mk]
@@ -95,8 +91,7 @@
 #applicable in isolation or if b makes a pincer on the right
 ]
 MA[jg]
-(;B[oe]MA[mg];W[qc]MA[mg];B[qd]MA[jg]C[
-];W[pc]MA[jg];B[of]MA[jh];
+(;B[oe]MA[mg];W[qc]MA[mg];B[qd]MA[jg];W[pc]MA[jg];B[of]MA[jh];
 W[od]MA[jg];B[pg]MA[ji])
 
 (;B[pc]C[j
Index: patterns/komoku.sgf
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/komoku.sgf,v
retrieving revision 1.16
diff -u -r1.16 komoku.sgf
--- patterns/komoku.sgf 21 Jul 2003 16:33:19 -0000      1.16
+++ patterns/komoku.sgf 21 Apr 2004 04:06:29 -0000
@@ -1,7 +1,7 @@
 This is GNU Go, a Go program. Contact address@hidden, or see
 http://www.gnu.org/software/gnugo/ for more information.
 
-Copyright 1999, 2000, 2001, 2002, 2003 by the Free Software Foundation.
+Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the Free Software Foundation.
 
 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as
@@ -17,26 +17,17 @@
 Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111, USA.
 
-
-
 (;GM[1]FF[3]
-SZ[19]AP[SGFC:1.13b]
-GN[White (W) vs. Black (B)]
-PB[Black]
-HA[0]
-PW[White]
-KM[5.5]
-DT[1999-05-27]
-TM[5:00:00(5x1:00)]RU[Japanese]SY[Cgoban 1.9.2];B[qd]
+SZ[19]HA[0]
+GN[Komoku joseki database]
+;B[qd]
 (;W[od]
 (;B[oc]MA[mg]
-(;W[nc]MA[lg]C[
-];B[pc]MA[mf]C[U]
+(;W[nc]MA[lg];B[pc]MA[mf]C[U]
 (;W[nd]MA[lg]C[:-,shape(6)]
 (;B[qf]MA[mh]C[U];W[jc]MA[if]C[U];B[hc]MA[gg]C[t
 ]
-(;W[je]C[
-]MA[gg])
+(;W[je]MA[gg])
 
 (;W[tt];B[lc]MA[hg]
 (;W[ld]C[0
@@ -189,8 +180,7 @@
 (;B[pf]MA[lh]
 (;W[qc]MA[lh]C[:-,shape(3)]
 (;B[rc]MA[lh];W[pc]MA[lh]C[U]
-(;B[re]MA[lh]C[:-,shape(8)];W[kc]MA[jg]C[
-])
+(;B[re]MA[lh]C[:-,shape(8)];W[kc]MA[jg])
 
 (;B[rb]MA[kg];W[kc]MA[jg];B[qj]MA[jk])
 )
Index: patterns/mokuhazushi.sgf
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/mokuhazushi.sgf,v
retrieving revision 1.5
diff -u -r1.5 mokuhazushi.sgf
--- patterns/mokuhazushi.sgf    18 Jul 2003 18:59:22 -0000      1.5
+++ patterns/mokuhazushi.sgf    21 Apr 2004 04:06:29 -0000
@@ -1,7 +1,7 @@
 This is GNU Go, a Go program. Contact address@hidden, or see
 http://www.gnu.org/software/gnugo/ for more information.
 
-Copyright 1999, 2000, 2001, 2002, 2003 by the Free Software Foundation.
+Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the Free Software Foundation.
 
 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as
@@ -17,25 +17,20 @@
 Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111, USA.
 
-
 (;GM[1]FF[3]
-RU[Japanese]SZ[19]HA[0]KM[5.5]
-PW[White]
-PB[Black]
-GN[White (W) vs. Black (B)]
-DT[1999-05-27]
-SY[Cgoban 1.9.2]TM[5:00:00(5x1:00)];B[oc]
-(;W[qd];B[pe]MA[mg]C[
-];W[qe]MA[mg];B[pf]MA[mh]
+SZ[19]HA[0]
+GN[Mokuhazushi joseki database]
+;B[oc]
+(;W[qd];B[pe]MA[mg];W[qe]MA[mg];B[pf]MA[mh]
 (;W[qg]MA[mh];B[jc]MA[ih]C[U
 ])
 
-(;W[qf];B[pg]MA[mi];W[qh];B[jc]MA[hg]PL[1];B[je]MA[ig]C[j
+(;W[qf];B[pg]MA[mi];W[qh];B[jc]MA[hg]PL[B];B[je]MA[ig]C[j
 ])
 )
 
-(;W[qc];B[pe]MA[mg];W[qe];B[pf]MA[kg];W[qf];B[pg]MA[kh]PL[1];B[jc]
-MA[hg]PL[1];B[je]MA[ig]C[j
+(;W[qc];B[pe]MA[mg];W[qe];B[pf]MA[kg];W[qf];B[pg]MA[kh]PL[B];B[jc]
+MA[hg]PL[B];B[je]MA[ig]C[j
 ])
 
 )
Index: patterns/sansan.sgf
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/sansan.sgf,v
retrieving revision 1.5
diff -u -r1.5 sansan.sgf
--- patterns/sansan.sgf 18 Jul 2003 18:59:22 -0000      1.5
+++ patterns/sansan.sgf 21 Apr 2004 04:06:29 -0000
@@ -1,7 +1,7 @@
 This is GNU Go, a Go program. Contact address@hidden, or see
 http://www.gnu.org/software/gnugo/ for more information.
 
-Copyright 1999, 2000, 2001, 2002, 2003 by the Free Software Foundation.
+Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the Free Software Foundation.
 
 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as
@@ -17,23 +17,16 @@
 Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111, USA.
 
-
 (;GM[1]FF[3]
-RU[Japanese]SZ[19]HA[0]KM[5.5]
-PW[White]
-PB[Black]
-GN[White (W) vs. Black (B)]
-DT[1999-05-27]
-SY[Cgoban 1.9.2]TM[5:00:00(5x1:00)];B[qc]
+SZ[19]HA[0]
+GN[Sansan joseki database]
+;B[qc]
 (;W[pd]MA[ki]C[j
-];B[qd]MA[of];W[pe]MA[mg]C[
-];B[ob]MA[mg]C[
-];W[md]
+];B[qd]MA[of];W[pe]MA[mg];B[ob]MA[mg];W[md]
 MA[lg]C[:-,shape(10)
 ];B[rf];W[pg]MA[ki])
 
-(;W[pf];B[nc]MA[lf]C[
-])
+(;W[pf];B[nc]MA[lf])
 
 (;W[pc];B[pd]MA[mg]C[U
 ];W[qd];B[qe]MA[mg]C[U
Index: patterns/takamoku.sgf
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/takamoku.sgf,v
retrieving revision 1.5
diff -u -r1.5 takamoku.sgf
--- patterns/takamoku.sgf       18 Jul 2003 18:59:22 -0000      1.5
+++ patterns/takamoku.sgf       21 Apr 2004 04:06:29 -0000
@@ -1,7 +1,7 @@
 This is GNU Go, a Go program. Contact address@hidden, or see
 http://www.gnu.org/software/gnugo/ for more information.
 
-Copyright 1999, 2000, 2001, 2002, 2003 by the Free Software Foundation.
+Copyright 1999, 2000, 2001, 2002, 2003, 2004 by the Free Software Foundation.
 
 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as
@@ -18,12 +18,9 @@
 Boston, MA 02111, USA.
 
 (;GM[1]FF[3]
-RU[Japanese]SZ[19]HA[0]KM[5.5]
-PW[White]
-PB[Black]
-GN[White (W) vs. Black (B)]
-DT[1999-05-27]
-SY[Cgoban 1.9.2]TM[5:00:00(5x1:00)];B[od];W[qd]
+SZ[19]HA[0]
+GN[Takamoku joseki database]
+;B[od];W[qd]
 (;B[qc]MA[lf]C[j
 ];W[rc]MA[lf];B[pc]MA[lf];W[re]MA[lf]C[U
 ];B[kc]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]