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