G’day Chris.
A new version, Version 3.2 2011-01-23, has been uploaded in post #1 in this thread.
Thanks for the testing; I know how hard it is…
- when the g1 square is attacked by black and white attempts king side castling, the king is prevented from moving but the rook still moves
Current status: fixed, I hope.
- the king is allowed to castle out of check
Current status: fixed, I hope.
- kings are able to move next to each other
Current status: fixed, I hope.
- when the king is in check by a pawn on 5th rank and en passant captures the pawn, the move is not allowed (presumably because the code thinks the king is still in check.
Current status: fixed, I hope.
- when moving a pawn capture to the 8th rank, I was not offered a new piece (not sure if you've done this yet).
Current status: fixed, I hope.
- when the f1 square is attacked by black, castling kingside by white is not prevented
Current status: work in progress.
- I'm experiencing a lag when dropping the piece - maybe due to the string calculations? My laptop is a bit slow though
Current status: stop using a Babbage machine.
Seriously though, a replay of a game will hit the processor at around 50% loading.
Thanks again to you and John for the testing; I do know how much time it takes.
I guess you and John have already figured it out but in case you haven’t…
If in running a game, and a programming indiscretion occurs (okay bug if you must
), then a trip to the tblGameMoves table will allow the undo of the last ‘X’ moves by deleting the last ‘X’ records. You can then open the frmChess Form again, select the game, and hit the last button. That will take you to the last record not deleted and you can then resume manual play at or before the point of error.
If you so desire both you can PM me and I will send you my email address. You can then save a game (right click on board) as an attachment and send it to me. That way I will know exactly what moves lead up to an error. I will ignore requests for my email address from anyone apart from those who have publically contributed to the testing. So if anyone else would like to do so, apart from John and Chris who have already done so, then please post some testing bugs publically and I’ll see what I can do.
Thanks again for the testing…
Regards,
Chris.