You are viewing a single comment's thread. Return to all comments →
Easiest code in java
public static String chessboardGame(int i, int j) { i--;j--; if(i==15 && j==15) return "Second"; if((i%4==0 || i%4==1) && (j%4==0 || j%4==1)) return "Second"; else return "First"; }
A Chessboard Game
You are viewing a single comment's thread. Return to all comments →
Easiest code in java