home *** CD-ROM | disk | FTP | other *** search
- Path: uunet!zephyr.ens.tek.com!master!saab!billr
- From: billr@saab.CNA.TEK.COM (Bill Randle)
- Newsgroups: comp.sources.games
- Subject: v13i103: gnuchess4 - GNU Chess 4.0, Patch1a
- Message-ID: <3079@master.CNA.TEK.COM>
- Date: 22 Jun 92 16:19:21 GMT
- Sender: news@master.CNA.TEK.COM
- Lines: 346
- Approved: billr@saab.CNA.TEK.COM
-
- Submitted-by: cracraft@rice-chex.ai.mit.edu (Stuart Cracraft)
- Posting-number: Volume 13, Issue 103
- Archive-name: gnuchess4/Patch1a
- Patch-To: gnuchess4: Volume 13, Issue 89-100
- Environment:
-
- [This brings gnuchess 4.0 up to patchlevel 50. See doc/ChangeLog
- for details. -br]
-
- #! /bin/sh
- # This is a shell archive. Remove anything before this line, then unpack
- # it by saving it into a file and typing "sh file". To overwrite existing
- # files, type "sh file -c". You can also feed this as standard input via
- # unshar, or by typing "sh <file", e.g.. If this archive is complete, you
- # will see the following message at the end:
- # "End of archive 1 (of 2)."
- # Contents: Credits src/match patch01.01
- # Wrapped by billr@saab on Mon Jun 22 09:15:57 1992
- PATH=/bin:/usr/bin:/usr/ucb ; export PATH
- if test -f 'Credits' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'Credits'\"
- else
- echo shar: Extracting \"'Credits'\" \(287 characters\)
- sed "s/^X//" >'Credits' <<'END_OF_FILE'
- XGNU Chess 4.0 is an international effort by:
- X
- X Mike McGann (mwm@hslrswi.hasler.ascom.ch)
- X Urban Koistinen (md85-epi@nada.kth.se)
- X Phillipe Schnoebelen ( phs@lifia.imag.fr)
- X Kenneth D. Jordan ( kdj@genrad.com)
- X Stuart Cracraft (cracraft@rice-chex.ai.mit.edu)
- END_OF_FILE
- if test 287 -ne `wc -c <'Credits'`; then
- echo shar: \"'Credits'\" unpacked with wrong size!
- fi
- # end of 'Credits'
- fi
- if test -f 'src/match' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'src/match'\"
- else
- echo shar: Extracting \"'src/match'\" \(861 characters\)
- sed "s/^X//" >'src/match' <<'END_OF_FILE'
- X#!/bin/sh
- X#
- X# match -- play a series of games using xboard as a referee
- X#
- X
- Xcase $# in
- X8) COUNT=0; PGM1=$2 ; PGM2=$4 ; LENGTH=$6 ; MODE=$8 ;;
- X*) echo "Usage: match -pgm1 pgm -pgm2 pgm -length \
- Xgames -mode (Init | Position | Opening)" ; exit
- Xesac
- X
- Xwhile (:)
- Xdo
- X if (test $COUNT -eq $LENGTH)
- X then
- X break
- X else
- X COUNT=`echo $COUNT | awk '{print $0 + 1}'`
- X MODULO=`echo $COUNT | awk '{print $0 % 2}'`
- X if (test $MODULO -eq 0)
- X then
- X xboard -fcp $PGM1 -scp $PGM2 \
- X -matchMode $MODE -saveGameFile match.game.$COUNT \
- X -savePositionFile match.position.$COUNT -iconic
- X else
- X xboard -fcp $PGM2 -scp $PGM1 \
- X -matchMode $MODE -saveGameFile match.game.$COUNT \
- X -savePositionFile match.position.$COUNT -iconic
- X fi
- X fi
- Xdone
- END_OF_FILE
- if test 861 -ne `wc -c <'src/match'`; then
- echo shar: \"'src/match'\" unpacked with wrong size!
- fi
- chmod +x 'src/match'
- # end of 'src/match'
- fi
- if test -f 'patch01.01' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'patch01.01'\"
- else
- echo shar: Extracting \"'patch01.01'\" \(6684 characters\)
- sed "s/^X//" >'patch01.01' <<'END_OF_FILE'
- Xdiff -c ../../../gnuchess4/README README
- X*** ../../../gnuchess4/README Sun May 31 09:30:56 1992
- X--- README Tue Jun 9 21:42:22 1992
- X***************
- X*** 6,15 ****
- X
- X -------------------------------------------------------------------
- X
- X! This is our GNU Chess 4.0 release, patchlevel 44. This is
- X! the first official release of GNU Chess 4.0. Please direct
- X! all bug reports, fixes, and improvements to me at the
- X! above address.
- X
- X -o-
- X
- X--- 6,12 ----
- X
- X -------------------------------------------------------------------
- X
- X! This is our GNU Chess 4.0 release.
- X
- X -o-
- X
- X***************
- X*** 35,41 ****
- X These are also included, but could stand some improvement:
- X
- X gnuan - Chess analysis program (to analyze games)
- X! game - Postscript printout of all or pard of a game
- X postprint - Postscript print of persistent hashfile
- X checkgame - check a game listing for illegal moves
- X checkbook - check the opening book for illegal moves
- X--- 32,38 ----
- X These are also included, but could stand some improvement:
- X
- X gnuan - Chess analysis program (to analyze games)
- X! game - Postscript printout of all or part of a game
- X postprint - Postscript print of persistent hashfile
- X checkgame - check a game listing for illegal moves
- X checkbook - check the opening book for illegal moves
- X***************
- X*** 71,77 ****
- X BOOK, HASH, LANG -- please don't adjust these.
- X 3) Enter "make all<return>"
- X 4) Enter "make install<return>"
- X! 5) Run gnuchessr (or "chesstool gnuchessc" or "xboard gnuchessx")
- X
- X I hope you enjoy playing GNU Chess chess. Please give me feedback and
- X your ideas for how to make this a better program. We especially
- X--- 68,74 ----
- X BOOK, HASH, LANG -- please don't adjust these.
- X 3) Enter "make all<return>"
- X 4) Enter "make install<return>"
- X! 5) Run gnuchessr (or "chesstool gnuchessc" or "xboard")
- X
- X I hope you enjoy playing GNU Chess chess. Please give me feedback and
- X your ideas for how to make this a better program. We especially
- Xdiff -c ../../../../gnuchess4/doc/ChangeLog doc/ChangeLog
- X*** ../../../../gnuchess4/doc/ChangeLog Sun May 31 08:38:14 1992
- X--- doc/ChangeLog Thu Jun 18 07:21:58 1992
- X***************
- X*** 1,4 ****
- X! Sun May 31 Patchlevel 44 Bart Massey (bart@cs.uoregon.edu
- X * Rename structure element move to bmove in book.c since
- X curses.h defines a move macro.
- X * Get rid of superfluous returns in dspcom.c and checkbook.c
- X--- 1,24 ----
- X! Thu Jun 18 Patchlevel 50 Tim Mann
- X! * Special #ifdefs to not do post for xboard are unnecessary
- X! and were removed.
- X! Wed Jun 17 Patchlevel 49 Mike McGann, Urban Koisten
- X! * Fix book code to calloc (Urban)
- X! * Fixed other code (Mike)
- X! Sun Jun 7 Patchlevel 48 Stuart Cracraft (cracraft@rice-chex.ai.mit.edu)
- X! * Fix gnuan.c output to be more uniform. And tested that it
- X! works.
- X! Sat Jun 6 Patchlevel 47 Stuart Cracraft (cracraft@rice-chex.ai.mit.edu)
- X! * Fix Makefile to correctly define BINBOOK so that parsed
- X! opening book gets used (if available.)
- X! Sat Jun 6 Patchlevel 46 Stuart Cracraft (cracraft@rice-chex.ai.mit.edu)
- X! * Various patches from various people to mostly robustify the
- X! code (exit values to exit, etc.)
- X! * New book.c handling code and gnuchess.h from Urban to handle
- X! mega book now under discussion.
- X! * New Xboard.
- X! Wed Jun 3 Patchlevel 45 Stuart Cracraft (cracraft@rice-chex.ai.mit.edu)
- X! * Encapsulate Xboard with GNU Chess distribution
- X! Sun May 31 Patchlevel 44 Bart Massey (bart@cs.uoregon.edu)
- X * Rename structure element move to bmove in book.c since
- X curses.h defines a move macro.
- X * Get rid of superfluous returns in dspcom.c and checkbook.c
- Xdiff -c ../../../../gnuchess4/misc/gnuchess.book misc/gnuchess.book
- X*** ../../../../gnuchess4/misc/gnuchess.book Sat May 30 07:40:34 1992
- X--- misc/gnuchess.book Tue Jun 2 06:32:44 1992
- X***************
- X*** 3743,3762 ****
- X b5c6 c8d7
- X c6a8? d7g4
- X ! Cochrane Gambit
- X! ! Avoid blunder as black, don't play the gambit as white
- X e2e4 e7e5
- X g1f3 g8f6
- X f3e5 d7d6
- X e5f7? e8f7
- X- d2d4 f6e4?
- X- d1h5
- X- ! Cochrane Gambit
- X- ! BCO2's main line. UCO agrees up to b1c3.
- X- ! Many BCO2 side lines omitted
- X- e2e4 e7e5
- X- g1f3 g8f6
- X- f3e5 d7d6
- X- e5f7? e8f7
- X d2d4 g7g6
- X b1c3 d8e8
- X f1c4 c8e6
- X--- 3743,3756 ----
- X b5c6 c8d7
- X c6a8? d7g4
- X ! Cochrane Gambit
- X! ! Playing this gambit as white does not suit gnuchess's style, but
- X! ! gnuchess needs to know how to defend against it.
- X! ! This is BCO2's main line. Most BCO2 side lines only show how to refute
- X! ! inferior moves by black, so we don't need them here.
- X e2e4 e7e5
- X g1f3 g8f6
- X f3e5 d7d6
- X e5f7? e8f7
- X d2d4 g7g6
- X b1c3 d8e8
- X f1c4 c8e6
- X***************
- X*** 3770,3827 ****
- X d6c7 b8a6
- X c1f4 e8c8
- X ! Cochrane Gambit
- X! ! UCO's main line
- X! ! Many UCO side lines omitted
- X e2e4 e7e5
- X g1f3 g8f6
- X f3e5 d7d6
- X e5f7? e8f7
- X! d2d4 g7g6
- X! b1c3 f8g7
- X! f1c4 c8e6
- X! c4e6 f7e6
- X! f2f4 e6f7
- X! e4e5 f6e8
- X! d1f3 c7c6
- X! c3e4 d8a5
- X! c1d2 a5d5
- X! f4f5 h8f8
- X! f5f6 f7g8
- X! f3b3 d5b3
- X! a2b3 e8f6
- X! e5f6 g7f6
- X! e4d6 f6d4
- X! o-o-o
- X! ! Cochrane Gambit
- X! ! UCO side line
- X! e2e4 e7e5
- X! g1f3 g8f6
- X! f3e5 d7d6
- X! e5f7? e8f7
- X! d2d4 g7g6
- X! b1c3 f8g7
- X! f1c4 c8e6
- X! c4e6 f7e6
- X! f2f4 e6f7
- X! e4e5 h8e8
- X! o-o b8c6
- X! e5f6 d8f6
- X! d4d5 c6d4
- X! f4f5 g6f5
- X! c1f4
- X! ! Cochrane Gambit
- X! ! UCO side line
- X! e2e4 e7e5
- X! g1f3 g8f6
- X! f3e5 d7d6
- X! e5f7? e8f7
- X! d2d4 g7g6
- X! b1c3 f8g7
- X! f1c4 c8e6
- X! c4e6 f7e6
- X! f2f4 e6f7
- X! e4e5 h8e8
- X! o-o b8c6
- X! d4d5 d6e5
- X! d5c6 d8d1
- X! c3d1 b7c6
- X--- 3764,3773 ----
- X d6c7 b8a6
- X c1f4 e8c8
- X ! Cochrane Gambit
- X! ! Refute bad line for white (5. f1c4)
- X e2e4 e7e5
- X g1f3 g8f6
- X f3e5 d7d6
- X e5f7? e8f7
- X! f1c4? d6d5
- X! e4d5 f8d6
- Xdiff -c ../../../../gnuchess4/misc/gnuchess.lang misc/gnuchess.lang
- X*** ../../../../gnuchess4/misc/gnuchess.lang Mon May 11 09:29:34 1992
- X--- misc/gnuchess.lang Thu Jun 18 15:17:26 1992
- X***************
- X*** 100,106 ****
- X 100:eng:{Random: %s}
- X 101:eng:{Repetition}
- X 102:eng:{Gnuchess version %s patchlevel %s\n}
- X! 103:eng:{S=%d m%d p%d ps%d ss%d m%d p%d ps%d ss%d}
- X 104:eng:{Score= %d}
- X 105:eng:{Score}
- X 106:eng:{Setup successful\n}
- X--- 100,106 ----
- X 100:eng:{Random: %s}
- X 101:eng:{Repetition}
- X 102:eng:{Gnuchess version %s patchlevel %s\n}
- X! 103:eng:{S%d m%d ps%d m%d ps%d}
- X 104:eng:{Score= %d}
- X 105:eng:{Score}
- X 106:eng:{Setup successful\n}
- X***************
- X*** 220,224 ****
- X 220:eng:{Time Control Error}
- X 221:eng:{material}
- X 222:eng:{time %d %d}
- X! 223:eng:{I have no idea}
- X 224:eng:{Not Enough Material}
- X--- 220,224 ----
- X 220:eng:{Time Control Error}
- X 221:eng:{material}
- X 222:eng:{time %d %d}
- X! 223:eng:{I have no idea\n}
- X 224:eng:{Not Enough Material}
- END_OF_FILE
- if test 6684 -ne `wc -c <'patch01.01'`; then
- echo shar: \"'patch01.01'\" unpacked with wrong size!
- fi
- # end of 'patch01.01'
- fi
- echo shar: End of archive 1 \(of 2\).
- cp /dev/null ark1isdone
- MISSING=""
- for I in 1 2 ; do
- if test ! -f ark${I}isdone ; then
- MISSING="${MISSING} ${I}"
- fi
- done
- if test "${MISSING}" = "" ; then
- echo You have unpacked both archives.
- rm -f ark[1-9]isdone
- cat patch01.01 patch01.02 >patches01
- rm patch01.01 patch01.02
- echo Now type \"'patch -p < patches01'\" to apply the patches
- else
- echo You still need to unpack the following archives:
- echo " " ${MISSING}
- fi
- ## End of shell archive.
- exit 0
-