summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
H.G. Muller [Sat, 21 Dec 2013 18:56:03 +0000]
Fix rep-draw detection
The FENs describing te game positions do not contain a side-to-move field.
So we sould take care to only compare te current position(s) with those in
the game history that have the same side to move.
H.G. Muller [Mon, 25 Feb 2013 19:36:13 +0000]
Allow mamer addtotourney to do late-joins
The score parameter of AddPlayer is now used to indicate it was invoked
by addtotourney rather than join (info passed in pendingList through the
Player.floatValue field), as in the existing code it was only called with
score = 0. anyway. When invoked from addtotourney, the command is also
allowed in 'closed' tourneys. In this case it would not only add the player,
but also clear its color counts and give it a 0 result against the BYE.
H.G. Muller [Mon, 25 Feb 2013 12:53:22 +0000]
Reduce number of lines in who command to 8
With 9 lines a 9-round tourney would make the ICS's qtell buffers overflow.
H.G. Muller [Mon, 25 Feb 2013 12:52:14 +0000]
Print paused status in tourney overview
H.G. Muller [Mon, 25 Feb 2013 12:42:58 +0000]
Limit length of lines sent to timeseal decoder
The timeseal decoder seems to crash on lines longer than 1000 characters.
H.G. Muller [Sat, 15 Sep 2012 17:51:24 +0000]
Fix classification of variant games
Variants were classified as non-standard, rather than wild.
H.G. Muller [Sat, 15 Sep 2012 17:31:23 +0000]
Fix time overflow bug
Time is stored in tenths of seconds, which makes it overflow. An attempt
to correct this in untenths() was ineffective, because of a signed/unsigned
mistake. (0xffffffff is not a large number, but equals -1!)
H.G. Muller [Tue, 11 Sep 2012 14:08:51 +0000]
Fix printing of date with rating
The old code was not safe: it passed a (time_t*) pointing to an (in),
which included garbage if time_t was of larger size. This again made
localtime return a null-pointer, which would crash strftime.
H.G. Muller [Tue, 11 Sep 2012 14:02:50 +0000]
Fix bad timeseal bug
When flagging the opponent, the black elapsed time was calculated using
whites time for receiving the move.
H.G. Muller [Tue, 4 Sep 2012 09:16:11 +0000]
add code to keep log of user input
H.G. Muller [Mon, 3 Sep 2012 10:21:42 +0000]
Check for validity of category/board when placing seek ad
Code was copied for this from the match command
H.G. Muller [Mon, 3 Sep 2012 10:13:09 +0000]
Add seek variable as synonym for ads
This so 'set seek 1|0' will work, as described in the help files.
H.G. Muller [Mon, 3 Sep 2012 10:10:04 +0000]
Change seek-ad-removal notification text
Use the same message as freechess.org, to make life less hard on interfaces.
H.G. Muller [Sun, 2 Sep 2012 16:34:05 +0000]
Correct printing of increment in Creating message
The increment was printed 10 times too large.
H.G. Muller [Sun, 2 Sep 2012 16:30:46 +0000]
Fix crash of ICS caused by printing invalid seek ad
A seek ad with invalid arguments obtained status SEEK_CLOSED before
processing it was aborted, with as result an uninitialized ad, which
would crash a later sought command.
H.G. Muller [Sun, 2 Sep 2012 16:24:33 +0000]
Fix bug in setting up w3 and w4 games
The expression to generate a random NBRQ in fact generated a random NBRA,
because of altered piece encoding.
H.G. Muller [Tue, 10 Jan 2012 14:47:25 +0000]
Fix gating on corner squares
The test for virginity of the rook would also match opponent castlings!
H.G. Muller [Mon, 9 Jan 2012 22:41:46 +0000]
Let seek command accept same parameters as match
The seek command was not accepting category and board params, just 4
numeric ones. This is fixed now by letting it accept a single string,
parsed by the same routine that parses the match arguuments. The
category and board are now also displayed with the ad in the sought list.
H.G. Muller [Sun, 8 Jan 2012 22:53:08 +0000]
Fix takeback of S-Chess gatings
The code for takeback of Spartan promotions had broken this, as it was
applied to gatings too, reverting the moved piece to Pawn!
H.G. Muller [Fri, 6 Jan 2012 23:01:36 +0000]
Implement test for perpetual checking
H.G. Muller [Tue, 3 Jan 2012 22:07:11 +0000]
Check validity of promotion piece in long algebraic
Long algebraic moves have their own parser, and this was not yet checking
if the chosen promotion piece was valid, so that it was possible to
promote to Archbishop in normal Chess, etc.
H.G. Muller [Sat, 31 Dec 2011 10:25:53 +0000]
Pay attention to variant when resuming adjourned game
H.G. Muller [Thu, 1 Dec 2011 20:47:24 +0000]
Implement Spartan Chess
This required new pieces, their parsing in algebraic moves and promotions,
a lot of promotion code because Hoplites can promote, implementation of
the duple-check rule by letting in_check recursively call itself after
abdicating the first king, making the test for nr of kings less critical,
and choosing a promotion piece in the mate test (because promotion to K
could solve the mate).
H.G. Muller [Thu, 29 Dec 2011 20:05:06 +0000]
Pay attention to category/board when examining adjourned games
The ICS assumed all adourned games were of type blitz...
H.G. Muller [Thu, 1 Dec 2011 11:49:36 +0000]
Seirawan gatings on castling
Castlings can now have promo suffix in any move format. RxK is understood
as castling, and in combination with promosuffix will cause gating at
the Rook square. For now it is printed as h1e1=h in SAN.
H.G. Muller [Tue, 29 Nov 2011 21:59:48 +0000]
Debug Seirawan Chess
H.G. Muller [Tue, 29 Nov 2011 18:18:38 +0000]
Fix build error in perl script
H.G. Muller [Tue, 29 Nov 2011 17:05:44 +0000]
Implement S-Chess
The value drops=2 in the gameState controls whether gating in pieces
from the holdings is possible, and implies holdings even if holdings=0.
New incarations of Cardinal and Marshall are added to the piece types,
under the names H and E. Gating has to be entered as promotion ('/' in
stead of '=' is allowed). King does no longer have to be the last piece
type; a macro PIECES has been added to indicate the number of piece types.
H.G. Muller [Tue, 29 Nov 2011 10:31:48 +0000]
Fix mamer crash on listmanagers command
H.G. Muller [Sun, 6 Nov 2011 20:39:09 +0000]
Print minutes, not deci-sec in 'Creating' message
H.G. Muller [Thu, 3 Nov 2011 16:07:46 +0000]
Increase number of games retained in history to 40
Unfortunately this parameter is hard-coded in the server.
H.G. Muller [Wed, 2 Nov 2011 14:45:59 +0000]
Add pause function to mamer
Mamer can now 'pause' an indicated tourney, meaning it suppresses starting
a new round. The command 'resume' would then be needed to start the next
round, and reset the pause condition. (Cloned from OpenTourney.)
H.G. Muller [Sat, 22 Oct 2011 16:22:58 +0000]
Add 2-sec delay before issuing rmatch
To prevent server overload when all matches start simutaneously.
H.G. Muller [Fri, 21 Oct 2011 21:17:31 +0000]
Let mamer take colors into account for pairing
During the pairing phase mamer now avodids pairing participants that
cannot not be assigned a color without violating the absolute rules
of three consecutives or imbalance.
H.G. Muller [Fri, 21 Oct 2011 21:07:53 +0000]
Make mamer compilable
Apparently some non-compliancies that were still accepted under
Ubuntu 8.04 are not accepted anymore.
H.G. Muller [Fri, 21 Oct 2011 20:25:23 +0000]
Check in modified mamer
This mamer was modified by hgm in pre-git days (and also obtained elsewhere?)
to pay attention to the colors of the participants in Swiss pairigs.
H.G. Muller [Mon, 11 Jul 2011 19:38:07 +0000]
Fix use of promoChar G,D,H in long-algebraic Shogi moves
D and H were not recognized at all, and G was MASTODON. Now D&H are added,
and MASTODON is redefined in parse_move as GOLD when promoType==3.
SAN moves do their own interpretation of the promo suffix, which
was already OK.
H.G. Muller [Mon, 11 Jul 2011 18:33:17 +0000]
Fix rep-draw detection
The comparison with previous positions started one half-move too late,
so that a third repetition was not recognized if the first occurrence
was created by an irreversible move.
H.G. Muller [Tue, 8 Mar 2011 18:24:46 +0000]
Implement Grand Chess
This required an extra game parameter to indicate the depth of the
promotion zone. The character 'Z' in the board file sets this to 3. The
promotion code had to be changed to allow for deferral when the last
rank is not yet reached. A missing promo char now defaults to deferral
when possible, and to the highest available piece if not.
H.G. Muller [Mon, 11 Oct 2010 19:52:10 +0000]
Make mate test handle Shogi
If we must rely on interposing drop for resolving the check, now use
legal_andcheck_move() to test if the drop is legal.
H.G. Muller [Mon, 11 Oct 2010 19:40:48 +0000]
Fix Shogi Knight-demotion bug
H.G. Muller [Mon, 11 Oct 2010 11:50:06 +0000]
Fix bugs in Shogi Knight moves and promotions
The legality check for Shogi Knight moves was improperly parenthesized,
and in the promotion code KNIGHT was used in stead of HONORABLEHORSE.
H.G. Muller [Mon, 11 Oct 2010 07:13:59 +0000]
Test Legality of Shogi promotions
The old code would allow any drop, except Pawns on first and last rank,
which is actually too restrictive for Shogi (which does allow back-rank
Pawn drops). Only thing still missing is Pawn drop with mate.
H.G. Muller [Mon, 11 Oct 2010 06:57:39 +0000]
Handle Shogi promotions on SAN moves
H.G. Muller [Mon, 11 Oct 2010 06:56:34 +0000]
Represent DragonKing and DragonHorse by D and H
Only in the board file it remains J and I.
H.G. Muller [Sun, 10 Oct 2010 10:38:56 +0000]
Finish implementation of Shogi
Shogi promotions were implemented by introducing a new promoType
value (3), which can be set y 'S' in the board status line.
Demotion of pieces takes place on capture, by tracing them back with
was_promoted() to their original, which now is not automatically Pawn,
but derived from the piece mentioned in the move string.
Like in Bughouse a promoted Queen is not distinguished from a
primordial one on the board, Golds which are promoted Pawns / Lances /
Knights / Silvers all look the same as a primordial Gold. The Dragon
Horse and Draon King look different from Bishop and Rook, though, and
are indicated by the letters I and J on the board.
The promotion is indicated in the SAN move by suffix =G, =I or =J.
Deferral is not indicated. On input == is understood as deferral, =+ or
=^ (or in fact =<ANY PIECE> as promotion).
H.G. Muller [Fri, 12 Mar 2010 10:43:47 +0000]
Include TD list with mamer on it in distribution
H.G. Muller [Fri, 12 Mar 2010 10:32:25 +0000]
Preconfigure admin as TM for mamer in the distribution
The file bots/mamer/data/managers was changed to list admin, and the
file bots/mamer/players/a/admin where admin has TM rights was added.
H.G. Muller [Fri, 12 Mar 2010 08:59:10 +0000]
Fix color assignment by mamer
Mamer was not keeping track of the total number of whites and blacks,
and was furthermore clearing these counts and the consecutive
whites / blacks before every round.
H.G. Muller [Fri, 12 Mar 2010 08:07:46 +0000]
Fix crash on rated Gothic games
The new game types were not everywere mapped on rating types, leading to
a crash. Types KNIGHTMATE, CAPABLANCA and GOTHIC are for the time being
now all treated as WILD, in rating calculations. Eventually these should
all have their own rating type, but this requires an extension of the
rating database format.
H.G. Muller [Mon, 18 Jan 2010 12:44:43 +0000]
Chmod 644
Some C source files had inadvertantly acquired mode 755.
H.G. Muller [Mon, 18 Jan 2010 12:27:39 +0000]
Initial boards for the various variants
In the new logic, the 'category', i.e. the name of the subdirectory of
'data/boards' now should correspond to the variant name used in the
XBoard client. The default setup for the variant is then in the file '0'
inside that, and is used wen no explicit board name is given.
H.G. Muller [Mon, 18 Jan 2010 12:20:48 +0000]
Check-in modifications made by HGM so far
This is the version of the variant ICS that first started running
permanently on my ADSL connection.
H.G. Muller [Mon, 18 Jan 2010 12:16:33 +0000]
Check-in Lasker-2.2.3 tar ball from samba.org