Discussion Board
Go to the previous messageGo to the following message
Current Forum: Homework 6 - Part II
Date: Tue Dec 4 2001 5:46 pm
Author: Maxim, Michael G. <mmaxim@andrew.cmu.edu>
Subject: Re: bug still there, with very up-to-date GraphicsGame.java

David,

As I pointed out to Ying earlier, it is the case that the GUI does not call the validMove() function in your Player class. This is not good and I know it, so I will fix this ASAP (Right now I have other things to do). makeMove() should throw a IllegalMoveException if presented with an invalid move, although I relieze this makes it slower. You can take this out in the tournament, because the tournament driver will never makeMove() an invalid move on your board.

Mike
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