<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
                                        
                                        
                                            
                                        
                                        
                                        Hi Stef!<div><br></div><div>Nice work! May I add this to the games collection in Trunk, which is currently part of "Etoys-Squeakland-Morphic-Games"?</div><div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div>
                                        
                                        <blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 02.06.2020 16:22:15 schrieb Stéphane Rollandin <lecteur@zogotounga.net>:</p><div style="font-family:Arial,Helvetica,sans-serif">Hello,
<br>
<br>I have fixed a few bugs and somewhat improved the chess game.
<br>
<br>Bugs:
<br>
<br>- castling was not possible when a rook was menaced
<br>- a test for king attack in black king-side castling was missing
<br>- the cached number of pawns is sometimes off, which could lead to a 
<br>DivideByZero error in some endgames (this is fixed, but not the 
<br>discrepancy which still effects the material evaluation)
<br>- a pawn taken en-passant was not removed from display
<br>
<br>One notable bug left is that undoing a castling move makes it impossible 
<br>to castle again.
<br>
<br>Improvements:
<br>
<br>- nicer display, scalable (with assets from wikimedia common)
<br>- the board is now sticky and cannot be accidentally grabbed
<br>- hints (from the 'help' button) now appear in the status line
<br>- support for Fischer randomized chess, aka Chess960
<br>
<br>Changes:
<br>
<br>- to castle, one now has to move the king over the rook
<br>
<br>
<br>To try it:
<br>
<br>      Chess960Morph new openInWorld
<br>
<br>
<br>Stef
<br><br></div></blockquote></div>