if you have not been constantly visiting this course black board, some people and the TAs have already pointed out one majore factor in causing the seemingly inconsistent behavior between textdemoboard and the graphicsdemoboard, which is
the current graphics interface does not check the moves validity before attempting a move while the text version does. HOWEVER, in the provided Board.java interface code, it specifies for the makemove() method, invalid moves are to be caught before proceeding.
so if you did not check validity in makeMove() and your code worked fine with Textgame, it will not work with the graphicsgame we are all waiting to know how this will be graded as well. |