[SCM] Packaging for fairymax branch, master, updated. debian/4.8j-1-15-g373929d

Vincent Legout vincent at legout.info
Thu Oct 1 03:10:34 UTC 2009


The following commit has been merged in the master branch:
commit 16d44bdf0d39aaf84dace33e312ca163a3016917
Author: Vincent Legout <vincent at legout.info>
Date:   Tue Sep 29 13:17:46 2009 +0800

    Imported Upstream version 4.8m

diff --git a/CVfairy.html b/CVfairy.html
deleted file mode 100644
index 78f0043..0000000
--- a/CVfairy.html
+++ /dev/null
@@ -1,505 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head><title>Fairy-Max</title>
-<META name="Author" content="H.G.Muller">
-<META name="keywords" content="chess, variation, variant, variants">
-<LINK href="../g/global.css" rel="stylesheet" type="text/css">
-</head>
-<body bgcolor="#fffff0" vlink="#ff0000"> 
-<!--#if expr="1=0" -->
-<a href="http://www.chessvariants.org"><img border=0
-src="http://www.chessvariants.org/voorplt.gif" alt="The Chess Variant Pages"></a>
-<!--#else -->
-<!--#exec cgi="/cgi-bin/headerscript.cgi" -->
-<!--#endif -->
-
-<h1>Fairy-Max: an AI for playing user-defined Chess variants</h1>
-
-<p><table width="20%" cellpadding=8 align=right>
-<tr><td bgcolor="#eeeee0"><div class="menu">
-<a href="#intro">Introduction</a>
-<br><a href="#array">Setup</a>
-<br><a href="#pieces">Pieces</a>
-<br><a href="#rules">Rules</a>
-<br><a href="#playingtips">Playing Tips</a>
-<br><a href="#equipment">Equipment</a>
-<br><a href="#notes">Notes</a>
-<br><a href="#contact">Contact</a>
-<p>Links to related pages would appear here.
-</div>
-</td></tr>
-</table>
-
-<a name=intro> </a>
-<h2>Introduction</h2>
-
-<table><tr><td width="200">
-<img src="./fairysmall.jpg">
-</td><td>
-<p>
-Fairy-Max is an AI, also called 'engine', for playing Chess variants.
-It is free open-source software, authored by H.G. Muller.
-It was created for the purpose of empirically evaluating fairy pieces,
-by allowing those to participate amongst orthodox Chess pieces
-in Chess games aimed at checkmating an opponent royal piece.
-It searches ahead like the FIDE-Chess engine from which it was derived
-(the World's smallest Chess program, micro-Max)
-by generating moves and trying them out on the internal board.
-To know how each piece type moves, micro-Max uses tables with step vectors,
-and it knows which pieces are leapers and which are sliders.
-In Fairy-Max, the contents of these tables is not fixed,
-but is loaded from a configuration file 'fmax.ini' at the start of each game.
-This allows the user to change the way pieces move
-(or add pieces of his own design) without changing the program,
-by altering the contents of the fmax.ini file.
-Fmax.ini is a normal text file and thus can be modified with any text editor
-(e.g. Notepad).
-</p>
-</td></tr></table>
-<p>
-Fairy-Max is only an AI. 
-It does not provide any graphics to display the position of the game it is playing,
-but only relays the moves as text.
-It is primarily designed to be run as an engine inside the <a href="./winboardF.html">WinBoard_F</a> GUI,
-and it communicates with this GUI in WinBoard protocol.
-Although there are several other GUIs that support WinBoard protocol,
-they will in general not offer as much variant support as WinBoard_F.
-Most GUIs only support normal Chess.
-ChessGUI by Matthias Gemuh also supports 10x8 Capablanca variants.
-Note that there are also many other WinBoard-compatible engines for
-playing variants that can be played under WinBoard_F.
-Some even play variants that Fairy-Max could never implement
-(e.g. Xiangqi or Crazyhouse).
-</p>
-<a name=array> </a>
-<h2>Setup</h2>
-
-<table><tr><td>
-<p>
-Fairy-Max can be downloaded from 
-<a href="http://home.hccnet.nl/h.g.muller/fairy.zip">here</a> 
-as a ZIP archive, 
-containing the engine executable, 
-the fmax.ini (which contains its own format description),
-and the engine source code, all grouped inside a folder.
-To install it, just extract this folder to a suitable place on your hard disk.
-Recommended is to put this folder inside the one where you installed WinBoard_F.
-WinBoard_F will then be able to find Fairy-Max without the need
-for changing the winboard.ini file
-(which contains the list of pre-defined engines that you can select
-in the startup dialog box without typing).
-</p>
-<p>
-The default memory usage of Fairy-Max is 96MB,
-almost all used for its hash table.
-If this does not comfortably fit in memory together with the
-engine process of the opponent (if there is a computer opponent),
-Fairy-Max will not run properly, and you would have to reduce the hash size.
-To do this, the engine name you type in the WinBoard startup dialog,
-or the one predefined in the winboard.ini file,
-should be accompanied by a numeric option argument indicating the
-hash-table size.
-A value of 23 correspond to the default size of 96MB, 22 to 48MB, 21 to 24MB, etc.
-To make WinBoard understand this argument is part of the engine startup command,
-the engine name plus argument should be enclosed in double quotes,
-like
-"Fairy-Max\fmax.exe 21".
-</p>
-
-</td><td width="520">
-
-<h3>Table 1: Variants pre-defined in the supplied fmax.ini</h3>
-<table cellpadding="5" border="1" bgcolor="lightyellow"><tr><td>
-normal
-</td><td>
-FIDE's good old mad-queen game
-</td></tr><tr><td>
-shatranj
-</td><td>
-Arabic precursor of Chess
-</td></tr><tr><td>
-capablanca
-</td><td>
-10x8 variant with Archbishop and Chancellor
-</td></tr><tr><td>
-courier
-</td><td>
-12x8 Medieval variant, combining Shatranj pieces with the modern Bishop
-</td></tr><tr><td>
-knightmate
-</td><td>
-King moves like Knight, and vice versa
-</td></tr><tr><td>
-cylinder
-</td><td>
-The board has no left or right edges, pieces wrap around
-</td></tr><tr><td>
-berolina
-</td><td>
-Pawns capture straight ahead, and move diagonal
-</td></tr><tr><td>
-super
-</td><td>
-8x8 variant including 4 fairy pieces in shuffled array
-</td></tr><tr><td>
-fairy
-</td><td>
-8x8 variant allowing all fairy pieces, standard setup with Nightriders
-</td></tr></table>
-</td></tr></table>
-
-<p>
-The piece descriptions in the fmax.ini file are grouped into variants,
-so that setting the engine to a certain variant (from the User Interface),
-will load the group of piece descriptions for that variant.
-The Fairy-Max download comes with an fmax.ini that predefines
-several variants 
-(FIDE Chess, Capablanca Chess, Shatranj, Courier, Knightmate, Cylinder Chess),
-which can serve as an example for those that want to implement their own variants.
-In addition, the fmax.ini file contains definitions of the most common fairy pieces not participating in the predefined variants,
-so that the user can draw on them when composing his own variants.
-Although Fairy-Max supports merely 15 different piece types,
-this is only a limitation to the number of different piece types that
-can participate simultaneously in a single game.
-In a game of another variant, all 15 pieces could move completely differently.
-</p><p>
-The board size for each variant is also defined in the fmax.ini file,
-and is currently limited to 12x8.
-(Expansion of the number of ranks is on the to-do list.)
-The default opening position is also defined in there,
-but can be overruled by loading a position through the User Interface.
-</p>
-
-<a name=pieces> </a>
-<h2>Pieces</h2>
-
-<table><tr><td width="500">
-<h3>Table 2: attributes that can be combined to define a move type</h3>
-<table border="1" bgcolor="lightgreen"><tr><td>
-C
-</td><td>
-capture
-</td><td>
-target square is valid destination if enemy piece there
-</td></tr><tr><td>
-N
-</td><td>
-non-capture
-</td><td>
-target square is valid destination if empty
-</td></tr><tr><td>
-T
-</td><td>
-terminate
-</td><td>
-move cannot continue, even if target square is empty
-</td></tr><tr><td>
-H
-</td><td>
-hopper
-</td><td>
-move can continue if target square was occupied
-</td></tr><tr><td>
-W
-</td><td>
-wrap
-</td><td>
-treat board like left edge borders right (cylinder board)
-</td></tr></table>
-
-</td><td>
-
-<p>
-Apart from Pawns, orthodox Chess pieces only come in two different types: 
-leapers and sliders.
-Leapers can only do one step of a given type, 
-while sliders can repeat their elementary step indefinitely, 
-as long as they do not encounter an obstruction (piece or board edge).
-If the obstruction is an enemy piece, it can be captured,
-(both by leapers and sliders),
-but the move cannot continue after that even for a slider.
-</p>
-<p>
-As not all fairy pieces fall in the slider or leaper category,
-Fairy-Max implements two additional move types: hoppers and alternators.
-Hoppers are sliders that can jump over the first obstruction in their path,
-and continue from there, with possibly a different type of move.
-The best known examples are the Cannon (Pao) from Chinese Chess,
-and the Grasshopper.
-The Pao changes its move type from 'non-capture-only' to 'capture-only' on hopping.
-The Grasshopper changes it from 'none' to 'both' (capture and non-capture),
-and in addition from slider to leaper.
-(It is only allowed to do one step after the hop,
-in contrast to the Pao, which remains a slider after hopping.)
-</p>
-</td></tr></table>
-<p>
-Alternators are pieces that do not need to hop over anything to change
-their move type, but do so spontaneously after every step they make.
-This can be a change in step direction, to provide bend trajectories, 
-but also in capture rights.
-E.g. a Xiangqi Elephant makes 2 diagonal steps in the same direction,
-on the first step it is not allowed to do anything (capture or non-capture) but continue, (if the square is empty, of course),
-on the second step it can both capture and non-capture (but is not allowed to continue any further, even if the square was empty).
-The Xiangqi Horse is similar, but also changes direction between the first and second step.
-</p><p>
-The Crooked Bishop is an example of a slider that changes direction on every step.
-This means both its primary and secondary step allow slider-like continuation.
-After the second step it switches back to its first, 
-and continues alternating on every subsequent step.
-For simplicity, Fairy-Max treats every slider that is not a hopper as an alternator.
-In cases where this is not desired (e.g. for the Rook),
-it simply 'alternates' between two identical steps.
-</p><p>
-To provide flexibility in implementation of fairy pieces,
-the discription of the move type has to be given for each direction separately,
-rather than for the piece as a whole.
-This to allow mixed sliders/leapers, such as the Archbishop, 
-which combines the Knight (leaper) and Bishop (slider) moves.
-For implementation of hoppers and alternators,
-the move description (direction and type) has to be given twice
-(primary and secondary move descriptor).
-</p><p>
-Fairy-Max makes no assumptions to the symmetry of the piece,
-meaning that all directions in which the piece moves have to be specified explicitly. E.g. for a Rook we have to list 4 moves, for a Knight 8.
-However annoying this sometimes might be,
-this is necessary for allowing implementation of
-asymmetric pieces such as the Crab or the Shogi Generals.
-Unfortunately, Fairy-Max is not smart enough yet to realize that the different
-sides play in opposite direction.
-Thus asymmetric pieces (such as Pawns) have to be implemented as different
-piece types for white and black.
-(E.g. what is a Crab for white, will be a Barc for black, and vice versa.)
-The following pieces have predefined descriptions in fmax.ini,
-ready for copying to your own variants.
-</p>
-<h3>Table 3: Pieces that are pre-defined in the fmax.ini that comes with the download</h3>
-<table border="1" cellpadding="5">
-
-<tr bgcolor="yellow"><td>
-SIMPLE LEAPERS
-</td><td>
-COMPOUND LEAPERS
-</td><td bgcolor="lightgreen">
-LEAPER-SLIDER COMPOUND
-</td><td bgcolor="lightblue">
-SLIDERS
-</td><td>
-LAME LEAPERS
-</td><td bgcolor="magenta">
-CYLINDER PIECES
-</td></tr>
-
-<tr><td>
-Ferz
-</td><td>
-King / Commoner
-</td><td>
-Archbishop
-</td><td>
-Bishop
-</td><td>
-Elephant (Xiangqi)
-</td><td>
-Cylinder Bishop
-</td></tr>
-
-<tr><td>
-Wazir
-</td><td>
-Bison
-</td><td>
-Chancellor / Marshall
-</td><td>
-Rook
-</td><td>
-Horse (Xiangqi)
-</td><td>
-Cylinder Rook
-</td></tr>
-
-<tr><td>
-Knight
-</td><td>
-Wildebeest
-</td><td>
-Caliph
-</td><td>
-Nightrider
-</td><td bgcolor="red">
-SEPARATE CAPTURE
-</td><td>
-Cylinder Knight
-</td></tr>
-
-<tr><td>
-Dabbaba
-</td><td>
-Carpenter
-</td><td>
-Canvasser
-</td><td>
-Queen
-</td><td>
-FIDE Pawn
-</td><td>
-Cylinder Queen
-</td></tr>
-
-<tr><td>
-Elephant (Alfil)
-</td><td>
-Kangaroo
-</td><td>
-Amazon
-</td><td>
-Crooked Bishop
-</td><td>
-Shatranj Pawn
-</td><td>
-Cylinder Pawn
-</td></tr>
-
- 
-<tr><td>
-Camel
-</td><td>
-High Priestess
-</td><td bgcolor="purple">
-HOPPERS
-</td><td>
- 
-</td><td>
-Berolina Pawn
-</td><td>
-
-</td></tr>
-
-<tr><td>
-Zebra
-</td><td>
-Minister
-</td><td>
-Grasshopper
-</td><td>
-
-</td><td>
-Quing
-</td><td>
-
-</td></tr>
-
-<tr><td>
-Crab / Barc
-</td><td>
-
-</td><td>
-Cannon (Xiangqi)
-</td><td>
-
-</td><td>
-Keen
-</td></tr></table>
-
-<a name=rules> </a>
-<h2>Rules</h2>
-
-<p>
-This section gives an indication of how the Chess variants are defined
-in the fmax.ini file.
-After a line "Game: <NAME>" to indicate that a new variant description follows,
-we have lines that specify the board size,
-and the back rank of the array for white and black.
-(Fairy-Max always assumed a close rank of Pawns directly in front of that.)
-Then follow the descriptions of all participating pieces,
-one line per piece.
-</p><p>
-For each piece, we have to give the letter by which it is represented
-when feeding a position to the engine,
-and the value the engine should attach to it in play.
-(So beware, Fairy-Max is not smart enough to figure this out by itself.
-If you tell it an immensely powerful piece like a Queen is only worth half a Pawn,
-it will happily trade it for one!)
-Then follows on the same line a list of move descriptors, 
-one for each direction the piece moves in.
-A move description consists of an elementary board step,
-and a number that specifies the move attributes,
-i.e. what the piece is allowed to do in this direction
-(if it can capture and/or non-capture, if it is leaper or slider,
-if it can hop over an obstacle or not, 
-if it respects the board edges or wraps around.)
-The exact way the step vectors and attributes are encoded
-is specified in comment lines contained in the fmax.ini,
-as it might still be subject to change in future versions.
-</p><p>
-The first two pieces specified are by definition the white and black Pawns.
-That means that Fairy-Max will let them promote if they reach the last rank.
-Fairy-Max always promotes to 'Queen', i.e. the 7th piece specified,
-however that moves.
-The third piece is the only one that can possibly castle with corner 'Rooks',
-i.e. the 6th piece defined.
-Although it is possible to make another piece than the 3rd royal,
-(indicated by giving it a negative value),
-that piece then couldn't castle.
-</p>
-
-<a name=notes> </a>
-<h2>Notes</h2>
-<p>
-There are many things that Fairy-Max cannot do; it was never meant to be a general game-playing system like Zillions of Games.
-Amongst the impossibilities are piece drops, (as in Crazyhouse or Shogi), 
-and pieces for which the moves are dependent on their location on the board
-(as in Xiangqi).
-For some pieces the move is simply too complicated to fit within the Fairy-Max move-type classification system (e.g. Rose, Griffon).
-</p>
-
-<a name=playingtips> </a>
-<h2>Playing Tips</h2>
-<p>
-Positional evaluation in Fairy-Max is fairly primitive:
-a piece either is drawn towards the center, or not.
-If you want a piece to be drawn to the center,
-you should indicate it by a lower-case letter.
-Pawns do get a large positional bonus when they reach 6th or 7th rank,
-of 64 and 128 units ('centiPawn' in FIDE Chess), respectively.
-This assumes that the piece to which the Pawns will promote is of decisive value,
-so the opponent will have to sacrifice a piece to stop the promotion.
-For Shatranj and Courier Chess,vwhere Pawns promote to the worthless Ferz,
-thi would lead to nonsensible play.
-To cure that, Fairy-Max divides these bonuses by 8 if the promotion piece is worth less than 200 centiPawn.
-The strategy of Fairy-Max is mostly tailored for normal Chess, 
-with normal Pawns that make decisive promotions,
-so it might never become a really good Shatranj or Courier player.
-</p><p>
-The first three moves of each game that Fairy-Max plays are chosen randomly from those that do not
-immediately give away material.
-This causes Fairy-Max to vary its play despite the absense of an opening book.
-The shadow side of this is that the initial moves might be no good positionally at all.
-</p>
-
-<a name=equipment> </a>
-<h2>Equipment</h2>
-<p>
-Fairy-Max runs on a PC under any Windows operating system.
-The memory demand is determined by the size of its hash table,
-whic by default is 96M.
-It would still run with a smaller hash table,
-but the larger the hash table, the better its play.
-Running with a hash table smaller than 6MB is not recommended.
-</p>
-
-<a name=contact> </a>
-<h2>Contact</h2>
-Questions about Fairy-Max can be posted as comments to this page,
-which are checked regularly by H.G. Muller.
-
-<!--#if expr="1=0" -->
-<p>
-<hr>Written by H.G. Muller.
-<hr>WWW page created: July 22, 2008.
-<!--#else -->
-<!--#include virtual="/g/footerinc1.html" --> 
-<!--#endif -->
-
-</body>
-</html>
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b389dc9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,42 @@
+srcdir = .
+
+CC=gcc
+CFLAGS += -O2
+
+
+ALL= fairymax shamax maxqi
+
+all: ${ALL}
+
+fairymax: fairymax.c
+	$(CC) $(CFLAGS) -DINI_FILE=\"/usr/share/games/fairymax/fmax.ini\" fairymax.c -o fairymax
+
+shamax: fairymax.c
+	$(CC) $(CFLAGS) -DINI_FILE=\"/usr/share/games/fairymax/fmax.ini\" -DSHATRANJ fairymax.c -o shamax
+
+maxqi: maxqi.c
+	$(CC) $(CFLAGS) -DINI_FILE=\"/usr/share/games/fairymax/qmax.ini\" maxqi.c -o maxqi
+
+install: ${ALL} ${srcdir}/data/*
+	cp -u ${srcdir}/fairymax /usr/games
+	cp -u ${srcdir}/shamax /usr/games
+	cp -u ${srcdir}/maxqi /usr/games
+	install -d -m0755 /usr/share/games/fairymax
+	cp -u ${srcdir}/data/* /usr/share/games/fairymax
+	install -d -m0755 /usr/share/man/man6
+	cp -u ${srcdir}/fairymax.6.gz /usr/share/man/man6
+
+clean:
+	rm -f ${ALL}
+
+dist-clean:
+	rm -f ${ALL} *~ data/*~
+
+uninstall:
+	rm -f /usr/share/games/fairymax/*
+	rmdir /usr/share/games/fairymax
+	rm -f /usr/share/man/man6/fairymax.6.gz
+	rm -f /usr/games/fairymax
+	rm -f /usr/games/shamax
+	rm -f /usr/games/maxqi
+
diff --git a/README b/README
new file mode 100644
index 0000000..db5e7c9
--- /dev/null
+++ b/README
@@ -0,0 +1,30 @@
+This package contains the sources of the XBoard-compatible Chess and
+Chess-variant engine Fairy-Max, and its dedicaed derivatives ShaMax 
+(for Shatranj) and MaxQi (for XiangQi = Chinese Chess). A Makefile
+is provided to compile and install them. Normally this would require only
+the command (given from the main directory of the package):
+
+sudo make install
+
+This will install the executables in /usr/games, (where XBoard expects
+them), and their data files in /usr/share/games/fairymax.
+
+Should you want to compile by hand, you could use the following 
+commands:
+
+gcc -O2 fairymax.c -o fairymax
+
+gcc -O2 fairymax.c -DSHATRANJ -o shamax
+
+gcc -O2 maxqi.c -o maxqi
+
+In this case you will get versions that expect their fmax.ini or qmax.ini
+files in the current direcory. To change the default path of the ini files,
+you can include the argument 
+
+-DINI_FILE=\"pathname\"
+
+to the gcc compilation command line.
+
+H.G.Muller
+
diff --git a/changelog.gz b/changelog.gz
new file mode 100644
index 0000000..b5f4fb3
Binary files /dev/null and b/changelog.gz differ
diff --git a/copyright b/copyright
new file mode 100644
index 0000000..1eeedf6
--- /dev/null
+++ b/copyright
@@ -0,0 +1,25 @@
+This package was debianized by H.G.Muller<h.g.muller at hccnet.nl> on
+Fri Jun  5 20:42:56 CEST 2009.
+
+Upstream Author(s): 
+
+    H.G. Muller <h.g.muller at hccnet.nl>
+
+Copyright: 
+
+    Copyright (C) 2009 H.G. Muller 
+
+License:
+
+    Fairy-Max 4.8 is free software, and you have permission do
+    with it whatever you want, whether it is commercial or not.
+    Note, however, that Fairy-Max can easily be configured through
+    its fmax.ini file to play Chess variants that are legally pro-
+    tected by patents, and to do so would also require permission 
+    of the holders of such patents. No guarantees are given that 
+    Fairy-Max does anything in particular, or that it would not 
+    wreck the hardware it runs on, and running it is entirely for 
+    your own risk.
+
+The Debian packaging is (C) H.G.Muller<h.g.muller at hccnet.nl>.
+
diff --git a/fmax.ini b/data/fmax.ini
similarity index 82%
rename from fmax.ini
rename to data/fmax.ini
index c5efa7a..64bd2ac 100644
--- a/fmax.ini
+++ b/data/fmax.ini
@@ -216,7 +216,7 @@ in a central file, the results are currently undefined.
 
 For the truly lazy, a few complete game descriptions can be found below:
 
-FIDE Chess
+// FIDE Chess (a.k.a. Mad Queen variant)
 Game: normal
 8x8
 6 4 5 7 3 5 4 6
@@ -230,7 +230,7 @@ R:444 1,3 16,3 -1,3 -16,3
 Q:851 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3
 f:481 13,FFFFF207 29,F207 46,F207 47,10207 49,10207 50,11207 35,11207 19,1207 -13,1207 -29,FFFF1207 -46,FFFF1207 -47,FFFF0207 -49,FFFF0207 -50,FFFEF207 -35,FFFEF207 -19,FFFFF207 
 
-Arabic precursor of modern Chess
+// Arabic precursor of modern Chess
 Game: shatranj
 8x8
 6 4 5 3 7 5 4 6
@@ -245,7 +245,7 @@ q:180 15,7 17,7 -15,7 -17,7
 e:110 30,7 34,7 -30,7 -34,7
 f:180 15,7 17,7 -15,7 -17,7
 
-Medieval intermediate between Shatranj and FIDE Chess
+// Medieval intermediate between Shatranj and FIDE Chess
 Game: courier
 12x8
 6 4 8 5 10 3 7 9 5 8 4 6
@@ -261,7 +261,7 @@ e:70 30,7 34,7 -30,7 -34,7
 w:100 1,7 16,7 -1,7 -16,7
 m:280 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7 
 
-The King moves as a Knight, and vice versa
+// The King moves as a Knight, and vice versa
 Game: knightmate
 8x8
 6 4 5 7 3 5 4 6
@@ -274,7 +274,7 @@ b:296 15,3 17,3 -15,3 -17,3
 R:444 1,3 16,3 -1,3 -16,3
 Q:851 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3
 
-Modern variant with two new pieces (Archbishop and Chancellor) on 10x8 board
+// Modern variant with two new pieces (Archbishop and Chancellor) on 10x8 board
 Game: capablanca
 10x8
 6 4 8 5 7 3 5 9 4 6
@@ -306,24 +306,7 @@ Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3
 A:825 15,3 17,3 -15,3 -17,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
 C:875 1,3 16,3 -1,3 -16,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
 
-// FalconChess is protected through U.S. patent #5,690,334 by George W. Duke.
-// Spreading it without license might be a criminal offense!
-Game: falcon
-10x8
-6 4 5 8 7 3 8 5 4 6
-6 4 5 8 7 3 8 5 4 6
-p:100 -16,24 -16,6 -15,5 -17,5 
-p:100 16,24 16,6 15,5 17,5
-k:-1  1,3034 -1,1034 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7
-n:310 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
-b:350 15,3 17,3 -15,3 -17,3
-R:475 1,3 16,3 -1,3 -16,3
-Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3
-f:450 13,FFFFF207 29,F207 46,F207 47,10207 49,10207 50,11207 35,11207 19,1207 -13,1207 -29,FFFF1207 -46,FFFF1207 -47,FFFF0207 -49,FFFF0207 -50,FFFEF207 -35,FFFEF207 -19,FFFFF207 
-A:825 15,3 17,3 -15,3 -17,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
-C:875 1,3 16,3 -1,3 -16,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
-
-Cylinder Chess (WinBoard legality testing should be off toplay this!)
+// Cylinder Chess (WinBoard / XBoard legality testing should be off toplay this!)
 Game: cylinder
 8x8
 6 4 5 7 3 5 4 6
@@ -336,22 +319,7 @@ b:450 15,103 17,103 -15,103 -17,103
 R:525 1,103 16,3 -1,103 -16,3
 Q:1150 1,103 16,3 15,103 17,103 -1,103 -16,3 -15,103 -17,103
 
-Game: 8x8+0_falcon
-8x8
-6 4 5 8 3 5 4 6
-6 4 5 8 3 5 4 6
-p:100 -16,24 -16,6 -15,5 -17,5 
-p:100 16,24 16,6 15,5 17,5
-k:-1  1,3034 -1,1034 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7
-n:310 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
-b:350 15,3 17,3 -15,3 -17,3
-R:475 1,3 16,3 -1,3 -16,3
-Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3
-f:450 13,FFFFF207 29,F207 46,F207 47,10207 49,10207 50,11207 35,11207 19,1207 -13,1207 -29,FFFF1207 -46,FFFF1207 -47,FFFF0207 -49,FFFF0207 -50,FFFEF207 -35,FFFEF207 -19,FFFFF207 
-
-// Berolina Chess. WinBoard does not support this yet, in WinBoard 4.3.13b you can play it with legality
-// testing switched off, but e.p. captures will not be executed properly. In earlier WinBoard versions
-// you could play it by renaming the game to, e.g. 'losers'. (But Pawns might disappear from the screen).
+// Berolina Chess. In WinBoard 4.3.15 you can play this with legality testing switched off
 Game: berolina
 8x8
 6 4 5 7 3 5 4 6
@@ -364,7 +332,7 @@ b:296 15,3 17,3 -15,3 -17,3
 R:444 1,3 16,3 -1,3 -16,3
 Q:851 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3
 
-Modern variant with four new pieces in randomly chosen setup on 8x8 board
+// Modern variant with four new pieces in randomly chosen setup on 8x8 board
 Game: super
 8x8
 6 4 5 7 3 5 4 6
@@ -387,8 +355,8 @@ d:625 1,7 16,7 -1,7 -16,7 15,3 17,3 -15,3 -17,3
 
 Game: fairy
 8x8
-6 4 5 7 3 5 4 6
-6 4 5 7 3 5 4 6
+10 9 8 7 3 5 4 6
+10 9 8 7 3 5 4 6
 p:100 -16,24 -16,6 -15,5 -17,5 
 p:100 16,24 16,6 15,5 17,5
 k:-1  1,34 -1,34 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7
@@ -396,16 +364,17 @@ n:325 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
 b:350 15,3 17,3 -15,3 -17,3
 R:500 1,3 16,3 -1,3 -16,3
 Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3
+e:60 30,7 34,7 -30,7 -34,7
+H:560 14,3 31,3 33,3 18,3 -14,3 -31,3 -33,3 -18,3
+O:320 1,BA 16,BA -1,BA -16,BA
 A:875 15,3 17,3 -15,3 -17,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
 C:900 1,3 16,3 -1,3 -16,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
-V:850 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
+v:850 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
 Z:1260 1,3 16,3 -1,3 -16,3 15,3 17,3 -15,3 -17,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
-o:700 2,7 30,7 32,7 34,7 -2,7 -30,7 -32,7 -34,7 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
-g:640 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7 2,7 30,7 32,7 34,7 -2,7 -30,7 -32,7 -34,7
-m:-1  1,34 -1,34 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7 16,70 -16,70
-d:625 1,7 16,7 -1,7 -16,7 15,3 17,3 -15,3 -17,3
+m:275 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7
 
-Modern variant with two new pieces (Archbishop and Chancellor) on 10x8 board
+// Great Shatranj: modern variant with range-two leapers replacing sliders, on 10x8 board
+// Must be played with legality testing off in XBoard 4.4.0.
 Game: great
 10x8
 6 4 5 8 3 10 9 5 4 6
diff --git a/qmax.ini b/data/qmax.ini
similarity index 94%
rename from qmax.ini
rename to data/qmax.ini
index d31f33f..6e215db 100644
--- a/qmax.ini
+++ b/data/qmax.ini
@@ -15,7 +15,7 @@ C:460 1,BA 16,BA -1,BA -16,BA
 R:900 1,3 16,3 -1,3 -16,3
 
 
-Chinese Chess
+// Chinese Chess
 Game: xiangqi
 10x9
 11 9 4 8 3 8 4 9 11
diff --git a/elephant.ico b/elephant.ico
deleted file mode 100644
index 7715e4d..0000000
Binary files a/elephant.ico and /dev/null differ
diff --git a/fairymax.6.gz b/fairymax.6.gz
new file mode 100644
index 0000000..5ce4c9c
Binary files /dev/null and b/fairymax.6.gz differ
diff --git a/fairymax.c b/fairymax.c
old mode 100644
new mode 100755
index 5c5fa42..8b7b45a
--- a/fairymax.c
+++ b/fairymax.c
@@ -18,7 +18,7 @@
      /*****************************************************************/
 
 #define MULTIPATH
-#define VERSION "4.8J"
+#define VERSION "4.8M"
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -89,6 +89,9 @@ int Post;
 int Fifty;
 int UnderProm;
 int GameNr;
+int Resign;
+int Threshold = 800;
+int Score;
 char piecename[32], piecetype[32];
 char *inifile = INI_FILE;
 
@@ -108,12 +111,12 @@ struct _ {int K,V;char X,Y,D,F;} *A;           /* hash table, 16M+8 entries*/
 int M=136,S=128,I=8e3,Q,O,K,N,j,R,J,Z,LL,      /* M=0x88                   */
 BW,BH,sh,
 w[16]={0,2,2,-1,7,8,12,23,7,5},                /* relative piece values    */
+o[256],
+oo[32],                                        /* initial piece setup      */
 of[256],
 od[16];                                        /* 1st dir. in o[] per piece*/
 
-char L,pl[17],
-o[256],
-oo[32],                                        /* initial piece setup      */
+signed char L,pl[17],
 b[513],                                        /* board: 16x8+dummy, + PST */
 T[4104],                                       /* hash translation table   */
 centr[32],
@@ -129,7 +132,7 @@ D(k,q,l,e,E,z,n)        /* recursive minimax search, k=moving side, n=depth*/
 int k,q,l,e,E,z,n;      /* (q,l)=window, e=current eval. score, E=e.p. sqr.*/
 {                       /* e=score, z=prev.dest; J,Z=hashkeys; return score*/
  int j,r,m,v,d,h,i,F,G,P,V,f=J,g=Z,C,s,flag,FF;
- char t,p,u,x,y,X,Y,H,B;
+ signed char t,p,u,x,y,X,Y,H,B;
  struct _*a=A+(J+(k+S)*E&U-1);                 /* lookup pos. in hash table*/
  q-=q<e;l-=l<=e;                               /* adj. window: delay bonus */
  d=a->D;m=a->V;X=a->F;Y=a->Y;                  /* resume at stored depth   */
@@ -139,7 +142,7 @@ int k,q,l,e,E,z,n;      /* (q,l)=window, e=current eval. score, E=e.p. sqr.*/
  X=a->X;                                       /* start at best-move hint  */
  W(d++<n||d<3||              /*** min depth = 2   iterative deepening loop */
    z&S&&K==I&&(GetTickCount()-Ticks<tlim&d<=MaxDepth|| /* root: deepen upto time   */
-   (K=X,L=Y&~S,d=3)))                          /* time's up: go do best    */
+   (K=X,L=Y&~S,Score=m,d=3)))                  /* time's up: go do best    */
  {x=B=X;                                       /* start scan at prev. best */
   h=Y&S;                                       /* request try noncastl. 1st*/
   P=d>2&&l+I?D(16-k,-l,1-l,-e,2*S,2*S,d-3):I;  /* search null move         */
@@ -234,12 +237,12 @@ C:FMAX( m=m+I|P==I?m:(X=Y=0); )                /* if stalemate, draw-score */
   if(a->D<99)                                  /* protect game history     */
    a->K=Z,a->V=m,a->D=d,a->X=X,                /* always store in hash tab */
    a->F=8*(m>q)|S*(m<l),a->Y=Y;                /* move, type (bound/exact),*/
-if(z&S&&Post){
-  printf("%2d ",d-2);
-  printf("%6d ",m);
-  printf("%8d %10d %c%c%c%c\n",(GetTickCount()-Ticks)/10,N,
-     'a'+(X&15),'8'-(X>>4),'a'+(Y&15),'8'-(Y>>4&7)),fflush(stdout);}
- }                                             /*    encoded in X S,8 bits */
+  if(z&S&&Post){
+    printf("%2d ",d-2);
+    printf("%6d ",m);
+    printf("%8d %10d %c%c%c%c\n",(GetTickCount()-Ticks)/10,N,
+       'a'+(X&15),'8'-(X>>4),'a'+(Y&15),'8'-(Y>>4&7)),fflush(stdout);
+ }}                                            /*    encoded in X S,8 bits */
 if(z&4*S)K=X,L=Y&~S;
  return m+=m<e;                                /* delayed-loss bonus       */
 }
@@ -384,6 +387,19 @@ void PrintVariants()
 
         fclose(f);
 }
+
+void PrintOptions()
+{
+	printf("feature option=\"Resign -check %d\"\n", Resign);
+	printf("feature option=\"Resign Threshold -spin %d 200 1200\"\n", Threshold);
+	printf("feature option=\"Ini File -file %s\"\n", inifile);
+	printf("feature option=\"Playing Style ;-) -combo Brilliant /// *Brave /// Beautiful\"\n");
+	printf("feature option=\"Dummy Slider Example -slider 20 0 100\"\n");
+	printf("feature option=\"Dummy String Example -file happy birthday!\"\n");
+	printf("feature option=\"Dummy Path Example -path .\"\n");
+	printf("feature option=\"Clear Hash -button\"\n");
+	printf("feature done=1\n");
+}
                                          
 int LoadGame(char *name)
 {
@@ -419,7 +435,6 @@ int LoadGame(char *name)
 
         for(i=0; i<BW; i++) fscanf(f, "%d", oo+i);
         for(i=0; i<BW; i++) fscanf(f, "%d", oo+i+16);
-
         for(i= 0; i<=U; i++)
             A[i].K = A[i].D = A[i].X = A[i].Y = A[i].F = 0; /* clear hash */
         for(i=0; i<32; i++) piecetype[i] = 0;
@@ -432,7 +447,7 @@ int LoadGame(char *name)
               piecetype[c&31]=i; piecename[i]=c&31;
             }
             j++; o[j]=0;
-            /* printf("tell c='%c' i=%d od[i]=%d j=%d (%3d,%8x)\n",c,i,od[i],j,o[j-1],of[j-1]); /**/
+            /* printf("# c='%c' i=%d od[i]=%d j=%d (%3d,%8x)\n",c?c:' ',i,od[i],j,o[j-1],of[j-1]); /**/
             c=0; if(i>15 || j>255) break;
         }
 
@@ -508,7 +523,9 @@ int main(int argc, char **argv)
 
                             GameHistory[GamePtr++] = PACK_MOVE;
                             CopyBoard(HistPtr=HistPtr+1&1023);
-                            if(PrintResult(Side))
+			    if(Resign && Score <= -Threshold) { 
+				printf("resign\n"); Computer=EMPTY;
+                            } else if(PrintResult(Side))
                                 Computer = EMPTY;
                         } else {
                             if(!PrintResult(Side))
@@ -530,7 +547,8 @@ int main(int argc, char **argv)
                         printf("feature setboard=0 ping=1 done=0\n");
                         printf("feature variants=\"");
                         PrintVariants();
-                        printf("\" done=1\n");
+                        printf("\"\n");
+			PrintOptions();
                         continue;
                 }
                 if (!strcmp(command, "ping")) { int nr=0;
@@ -641,6 +659,16 @@ int main(int argc, char **argv)
 		if (!strcmp(command, "random")) {
 			continue;
 		}
+		if (!strcmp(command, "option")) {
+			int i; static char filename[80];
+			if(sscanf(line+7, "Resign=%d", &Resign) == 1) continue;
+			if(sscanf(line+7, "Resign Threshold=%d", &Threshold) == 1) continue;
+			if(sscanf(line+7, "Ini File=%s", filename) == 1) {
+				inifile = filename; continue;
+			}
+			if(sscanf(line+7, "Clear Hash") == 1) for(i=0; i<U; i++) A->K = 0;
+			continue;
+		}
 		if (!strcmp(command, "go")) {
                         /* set computer to play current side to move */
                         Computer = Side;
@@ -783,6 +811,3 @@ int main(int argc, char **argv)
 		}
 	}
 }
-
-
-
diff --git a/fairysmall.jpg b/fairysmall.jpg
deleted file mode 100644
index bedf2fb..0000000
Binary files a/fairysmall.jpg and /dev/null differ
diff --git a/fmax.rc b/fmax.rc
deleted file mode 100644
index a59ed58..0000000
--- a/fmax.rc
+++ /dev/null
@@ -1 +0,0 @@
-ICON_WHITE              ICON    DISCARDABLE     "elephant.ico"
diff --git a/fres.o b/fres.o
deleted file mode 100644
index 93a2c8b..0000000
Binary files a/fres.o and /dev/null differ
diff --git a/logo.bmp b/logo.bmp
deleted file mode 100644
index b3df378..0000000
Binary files a/logo.bmp and /dev/null differ
diff --git a/logo2.bmp b/logo2.bmp
deleted file mode 100644
index 6c6259c..0000000
Binary files a/logo2.bmp and /dev/null differ
diff --git a/maxqi.c b/maxqi.c
index 593670c..9b15595 100644
--- a/maxqi.c
+++ b/maxqi.c
@@ -52,7 +52,8 @@
 /*    add array for specifying board zones                                 */
 /*    add zone limiter for each piece                                      */
 /*    change promotion code to act when crossing river                     */
-/*    remove stalemate code                                                */
+/*    remove stalemate code                                                */
+/* G) o[] and oo[] made int, to work on big-endian machines                */
 /***************************************************************************/
 
      /*****************************************************************/
@@ -87,14 +88,14 @@ int GetTickCount() // with thanks to Tord
 	gettimeofday(&t, NULL);
 	return t.tv_sec*1000 + t.tv_usec/1000;
 }
-#ifndef INI_FILE 
-#define INI_FILE "qmax.ini"
+#ifndef QINI_FILE 
+#define QINI_FILE "qmax.ini"
 #endif
 
 #else
 
 #include <windows.h>
-#define INI_FILE "qmax.ini"
+#define QINI_FILE "qmax.ini"
 
 #endif
 
@@ -131,7 +132,7 @@ int Fifty;
 int UnderProm;
 int GameNr;
 char piecename[32], piecetype[32], defaultchar[]=".PPKNBRQEWFMACHG";
-char *inifile = INI_FILE;
+char *inifile = QINI_FILE;
 
 int Ticks, tlim, Setup, SetupQ;
 
@@ -149,12 +150,12 @@ struct _ {int K,V;char X,Y,D,F;} *A;           /* hash table, 16M+8 entries*/
 int M=136,S=128,I=8e3,Q,O,K,N,j,R,J,Z,LL,L,    /* M=0x88                   */
 BW,BH,sh,
 w[16]={0,2,2,-1,7,8,12,23,7,5},                /* relative piece values    */
+o[256],
+oo[32],                                        /* initial piece setup      */
 of[256],
 od[16];                                        /* 1st dir. in o[] per piece*/
 
-char
-o[256],
-oo[32],                                        /* initial piece setup      */
+signed char
 b[513],                                        /* board: 16x8+dummy, + PST */
 T[8200],                                       /* hash translation table   */
 centr[32],
@@ -471,7 +472,7 @@ int main(int argc, char **argv)
         if(argc>1) inifile = argv[1];
 
 	signal(SIGINT, SIG_IGN);
-        printf("tellics say     MaxQi 4.8 (F)\n");
+        printf("tellics say     MaxQi 4.8 (G)\n");
         printf("tellics say     by H.G. Muller\n");
         InitEngine();
         LoadGame(NULL);
@@ -541,7 +542,7 @@ int main(int argc, char **argv)
 		if (!strcmp(command, "xboard"))
 			continue;
                 if (!strcmp(command, "protover")) {
-                        printf("feature myname=\"MaxQi 4.8F\"\n");
+                        printf("feature myname=\"MaxQi 4.8G\"\n");
                         printf("feature memory=1\n");
                         printf("feature smp=1\n");
                         printf("feature setboard=0 ping=1 done=0\n");
@@ -722,7 +723,7 @@ int main(int argc, char **argv)
                                 m = line[0];
                                 if(m=='.') break;
                                 if(m=='#') {
-                                        for(i=0; i<144; i++) b[i]=0;
+                                        for(i=0; i<128; i++) b[i]=0;
                                         Q=0; R=0; O=S;
                                         continue;
                                 }
diff --git a/md5sums b/md5sums
new file mode 100644
index 0000000..1baacc4
--- /dev/null
+++ b/md5sums
@@ -0,0 +1,10 @@
+c754004f67e8f6f59ad7084f53c44a2d  fairymax/README
+d907f5af0c1cf96c53e6271485beb0b1  fairymax/copyright
+cfe941bb7d308b91f5d7348f16d0e399  fairymax/changelog.gz
+45493909b7a5fefdb78b46e03f53853c  fairymax/fairymax.c
+81c983b6325e9b9c94979685b1777a9b  fairymax/maxqi.c
+b851b7bc80c6db22089b81af1f8d1dbc  fairymax/Makefile
+31d11c7183a805f64896808854603fff  fairymax/fairymax.6.gz
+4acd0ed6e5b58545f6151994ba7b9d71  fairymax/data/fmax.ini
+674172f47a1ddc15fcfa165088fb7122  fairymax/data/qmax.ini
+
diff --git a/readme.txt b/readme.txt
deleted file mode 100644
index ee2b359..0000000
--- a/readme.txt
+++ /dev/null
@@ -1,67 +0,0 @@
-                                FAIRY-MAX 4.8A RELEASE NOTES
-
-Fairy-Max is a self-documented open-source engine for Chess and Chess variants. It is a derivative of the World's smallest Chess program, micro-Max, and although no special effort is made to keep the size of its source code to the utmost minimum, its humble origins make that the engine outine is still only about 100 lines of C-code. The whole source is contained in a single file (fmax4_8.c).
-
-Fairy-Max is a WinBoard compatible engine. This means it does not display a Chess board itself, but has tu use WinBoard for that purpose, and should then be started by starting WinBoard, and instruct it to use Fairy-Max for thinking up the moves. 
-
-Fairy-Max uses a hash table of 96 MegaByte by default. It is essential that this table fit in the memory of your computer, with sufficient room to spare for Windows and other support programs, and a posible opponent program. On old systems, the amount of DRAM might not be sufficient for this. To prevent that Fairy-Max will slow down thousandfold (with a corresponding drop in playing strength) by substituting hard disk for memory, you will have to instruct it to use a smaller hash table. To this end, you would have to replace the name Fairy-Max\fmax in the short-cut to start WinBoard in a specific mode, in the startup dialog box if you start through the WinBoard icon itself, or in the winboard.ini file by "Fairy-Max\fmax 20". (Including the quotes and space!) The 20 indicates Fairy-Max should only use 12MB hash table. (Each increment/decrement of this number would double/half the hash size, i.e. 21 would mean 24MB, etc.) It is usually OK to use about a quarter of the availble memory, even if you run Fairy-Max twice (by playing it against itself).
-
-Fairy-Max should be possible to compile it with any C compiler. It was developed using gcc under cygwin. On this platform, it can simply be compiled with the command:
-
-gcc -O2 -mno-cygwin fmax4_8.c -o fmax.exe
-
-This gives you a perfectly functional executable, which you can shrink in size somewhat by using
-
-strip fmax.exe
-
-For compiling under Linux, you have to define the compiler swithch LINUX. This can be done by adding the
-command-line option "-D LINUX" (without te quotes) in the compilation command.
-
-If you want the executable to show up in Windows as a nice icon, rather than the standard symbol for an executable, you have to link it to an icon pictogram. I do this by the sequence of commands:
-
-windres --use-temp-file --include-dir . fmax.rc -O coff -o fres.o
-gcc -O2 -mno-cygwin -c fmax4_8.c
-gcc -mno-cygwin *.o -o fmax.exe
-strip fmax.exe
-
-I have no idea if this is a good or a stupid way to do it, I have zero experience in programming Windows applications, and this was a copy-cat solution based on the WinBoard source code that seemed to work.
-
-Have fun,
-H.G. Muller
-
-
-New features compared to previous releases:
-
-* Support for a cylindrical board (used in predefined variant Cylinder Chess)
-* Support for lame leapers and multi-path lame leapers.
-* Support for e.p. capture of Berolina Pawns.
-
-The supplied fmax.ini file now includes definitions for Cylinder Chess, Berolina Chess,
-Falcon Chess (patented!) and Super-Chess (TM) next to the usual set (normal Chess,
-Capablanca Chess, Gothic Chess, Shatranj, Courier Chess and Knightmate). Note that
-Cylinder Chess and Berolina Chess can only be played in WinBoard 4.3.15 with legality testing off.
-
-SOME NOTES ON SUPERCHESS
-
-Super Chess is defined with the standard pieces used in the Dutch Open of this variant:
-Archbishop (A), Marshall (M), Centaur (C) and Amazon (Z) (which in Super Chess are referred to as
-Princess, Empress, Veteran and Amazon, respectively). But it also has definitions for the
-Cannon (O), Nightrider (H), Dragon Horse (D) and and Grasshopper (G). If you include any of those
-pieces in the initial setup, Fairy-Max will use them. You can instruct WinBoard to use these pieces
-in stead of the default AMCZ by redefining the pieceToCharTable of WinBoard with a command-line option.
-Note that the promotion rules for SuperChess are not yet implemented in this version of Fairy-Max:
-the opponent can promote to anything (but if it is not Queen this will come as a complete surprise
-to Fairy-Max), and Fairy-Max itself only promotes to Queen. (Even if it already has one...)
-The Grasshopper can currently only be used in WinBoard when Legality testing is off.
-
-SOME NOTES ON FALCON CHESS
-
-Falcon Chess features a piece that is covered by a U.S. patent (#5,690,334), the Falcon, 
-which is a non-leaping piece that can follow three alternative paths to any (1,3) or (2,3) 
-destination. (In the sme terminology as where a Knight reaches any (1,2) destination.) 
-The current version of Fairy-Max is licenced to use this piece in the way it does now. 
-This does NOT imply, however, that any code you derive from Fairy-Max, (something that in 
-itself you are perfectly allowed to make) is also licensed to play Falcon Chess, or use the
-Falcon in another Chess variant, if any of the modification you made reflect in any way on 
-its skill in playing Falcon Chess or these Falcon-containing variants.
-In such a case you would have to seek a new license from the patent holder, George W. Duke.
\ No newline at end of file
diff --git a/uni.ico b/uni.ico
deleted file mode 100644
index 5d9983d..0000000
Binary files a/uni.ico and /dev/null differ

-- 
Packaging for fairymax



More information about the Pkg-games-commits mailing list