[squeak-dev] [ANN] Chess960

Marcel Taeumel marcel.taeumel at hpi.de
Wed Jun 3 08:14:01 UTC 2020


Hi Stef!

Nice work! May I add this to the games collection in Trunk, which is currently part of "Etoys-Squeakland-Morphic-Games"?

Best,
Marcel
Am 02.06.2020 16:22:15 schrieb St├ęphane Rollandin <lecteur at zogotounga.net>:
Hello,

I have fixed a few bugs and somewhat improved the chess game.

Bugs:

- castling was not possible when a rook was menaced
- a test for king attack in black king-side castling was missing
- the cached number of pawns is sometimes off, which could lead to a
DivideByZero error in some endgames (this is fixed, but not the
discrepancy which still effects the material evaluation)
- a pawn taken en-passant was not removed from display

One notable bug left is that undoing a castling move makes it impossible
to castle again.

Improvements:

- nicer display, scalable (with assets from wikimedia common)
- the board is now sticky and cannot be accidentally grabbed
- hints (from the 'help' button) now appear in the status line
- support for Fischer randomized chess, aka Chess960

Changes:

- to castle, one now has to move the king over the rook


To try it:

Chess960Morph new openInWorld


Stef

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200603/562c39c1/attachment.html>


More information about the Squeak-dev mailing list