Discussion Board
Go to the previous messageGo to the following message
Current Forum: Homework 6 - Part II
Date: Tue Dec 4 2001 11:15 pm
Author: Lee, Charles C. <chucklee@cmu.edu>
Subject: Re: bug still there, with very up-to-date GraphicsGame.java

I add a throw statement in there if !validmove(move). It works only with the white piece, but not for the black piece. Whenver I do a legal move for a black piece, I get an error message popping up and furthermore the move is executed. If the exception is thrown, the move should not have been executed. What's wrong?
Post response

Go to the previous messageGo to the following message
Current Thread Detail:
bug... with GraphicsGame.java?      Shi, Ying      Sun Dec 2 2001 8:13 pm       
Re: bug... with GraphicsGame.java?      Maxim, Michael G.      Sun Dec 2 2001 8:25 pm       
Re: bug... with GraphicsGame.java?      Shi, Ying      Sun Dec 2 2001 8:29 pm       
Re: bug still there, with ve...      Shi, Ying      Mon Dec 3 2001 10:43 am       
Re: bug still there, with...      Maxim, Michael G.      Mon Dec 3 2001 11:07 am       
Re: bug still there, w...      Fields, David C.      Tue Dec 4 2001 11:51 am       
Re: bug still there,...      Shi, Ying      Tue Dec 4 2001 1:48 pm       
Re: bug still there,...      Shi, Ying      Tue Dec 4 2001 1:49 pm       
Re: bug still there,...      Maxim, Michael G.      Tue Dec 4 2001 5:46 pm       
Re: bug still the...      Lee, Charles C.      Tue Dec 4 2001 11:15 pm       
Re: bug still ...      Fields, David C.      Wed Dec 5 2001 2:18 am       

Back to previous screen