You are viewing a single comment's thread. Return to all comments →
this is the javascript solution i put.
function chessboardGame(x, y) { switch(((x-1) % 4 >= 0 && (x-1) % 4 <= 1) && ((y-1) % 4 >= 0 && (y-1) % 4 <= 1)) { case true: return "Second"; default: return "First"; }
} }
}
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 →
this is the javascript solution i put.
} }
}