HI,
I'm not sure which section this would go in.
I have to write a ChessMind for an assignment. It's for a ChessWorld where minds can run each other and take each others pieces.
I need help on how to actually start it. I know if I can get one piece to work I can figure the rest out..
Here's the skeleton for it..
import org.w2mind.net.*; public class Skeleton Mind implements Mind { public void endrun() throws RunError { } public void newrun() throws RunError { } public Action getaction(State s) throws RunError { // always try to move the same pawn, causing an invalid move forfeit quickly String fen = s.toString(); return new Action("12,28"); } }
Any advice to get it started is greatly appreciated..