You are viewing a single comment's thread. Return to all comments →
public static String chessboardGame(int x, int y) { x--;y--; if((x/2)%2==0 && (y/2)%2==0) return "Second"; return "First"; }
A Chessboard Game
You are viewing a single comment's thread. Return to all comments →