Discussion Board
Go to the previous messageGo to the following message
Current Forum: Homework 6 - Part II
Date: Tue Dec 4 2001 11:51 am
Author: Fields, David C. <dcf@andrew.cmu.edu>
Subject: Re: bug still there, with very up-to-date GraphicsGame.java

my hypothesis:
the problem is not with the GUI, or your invalid move detection. the problem is that your makeMove() does not throw the IllegalMoveException as required. we experienced the same problem, and it was solved simply by throwing the exception if the move passed to makeMove() failed validMove().

-Dave
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