On Jun 20, 2005, at 3:56 PM, Jim Menard wrote: > I've been working on adding checkmate detection to my Bangkok-based > solution from last week. I added check detection, which was easy. > Checkmate seems harder, unless I'm missing something. I need to > figure out all possible moves for all pieces on the checked side, > then make the move and re-check the board to see if the king is > still in check. Is that what I have to do, or am I without clue? That's how I did it. I believe that's about the best method because you have to consider things like moving a piece in to block the check. James Edward Gray II