You are viewing a single comment's thread. Return to all comments →
Editorial seemed very overly complex. This is easily solved by:
public static String findWinner(int x, int y){ x=x%4; y=y%4; if((y==0)||(y==3)||(x==0)||(x==3)) return "First"; return "Second"; }
Seems like cookies are disabled on this browser, please enable them to open this website
A Chessboard Game
You are viewing a single comment's thread. Return to all comments →
Editorial seemed very overly complex. This is easily solved by: