Kibbitz Listing



This should be the last insertion before updating works. I had to retrieve the new primary key after an insertion.
Now to update for real.
That didn't work. I made the kibbitzid field visible.
1319 is the KibbitzID number. Will it change or remain the same when I try to update?
It worked after I set a value for $kibbitzid before writing the form.

This should be the last insertion before updating works. I had to retrieve the new primary key after an insertion.
Now to update for real.

This should be the last insertion before updating works. I had to retrieve the new primary key after an insertion.

That last update was still an insertion. I had to change the name of an input field from subjectid to kibbitzid.
Update or Insert?

That last update was still an insertion. I had to change the name of an input field from subjectid to kibbitzid.
Update or Insert?

That last update was still an insertion. I had to change the name of an input field from subjectid to kibbitzid.
Update or Insert?

That last update was still an insertion. I had to change the name of an input field from subjectid to kibbitzid.
Update or Insert?

That last update was still an insertion. I had to change the name of an input field from subjectid to kibbitzid.

This is a test Kibbitz comment using editcomment.php.
Attempting to update Kibbitz comment.
Attempting to update for real, since it didn't use the game and log names the first time it created it, which made the first update an insertion.
That last update was also an insertion. This should be a real update now that I have given a value to $row["KibbitzID"] before posting.

This is a test Kibbitz comment using editcomment.php.
Attempting to update Kibbitz comment.
Attempting to update for real, since it didn't use the game and log names the first time it created it, which made the first update an insertion.

This is a test Kibbitz comment using editcomment.php.
Attempting to update Kibbitz comment.































The move 21. c6-e4 was legal, but there was a bug. Here is what the problem was. The code for checking whether the Queen was moving through check was checking for attacks on empty spaces instead of Queen-occupied spaces. This led to incorrect values for divergent pieces, in this case the Anglican Bishop whose non-capturing orthogonal move reached one of the spaces the Queen's move would pass over. I corrected this by moving the Queen to each step in her move before checking whether it is attacked. With the Queen on the space before determining whether any piece attacks it, I get correct values from divergent pieces. This same bug could have caused the Prince Consort to stop legal Queen moves from a distance, as David Paulowich surmised was happening, though in the case he mentioned, the move was still illegal for another reason.



























































