Here's the story

by

Pete's SUB KEYBOARD uses the presence of a piece on the board to start a move. So if you click on square e5, for example and there is a piece there, that starts a move.

This was great before I changed Pete's specifications to include imaginary opponent pieces.

So a bug was introduced.

Now the BIG problem was in the test cases. They should have been changed. I just did that and added this test

4) Left Click on empty squares and opponent pieces.
(This should not do anything)

And I modified Pete's program to test for color. In other words to treat a square that has a piece which is the Opponents color the same way you treat empty squares, namely avoid honoring the left-click.

Mac


Posted on Feb 14, 2006, 7:35 AM
from IP address 68.98.164.60

Respond to this message   

Return to Index