@@ -0,0 +1,265 @@
+package jcrib;%0A%0Apublic class IllegalPlayException extends Exception %7B%0A%0A    static final long serialVersionUID = 6999197812135492022L;%0A%0A    public IllegalPlayException() %7B%0A        super();%0A    %7D%0A%0A    public IllegalPlayException(String s) %7B%0A        super(s);%0A    %7D%0A%7D%0A

Add IllegalPlayException for invalid moves