You are viewing a single comment's thread. Return to all comments →
JS solution...
function gameOfStones(n) { if (n % 7 === 0) { return "Second" } else if ((n - 1) % 7 === 0) { return "Second" } return "First"; }
Seems like cookies are disabled on this browser, please enable them to open this website
Game of Stones
You are viewing a single comment's thread. Return to all comments →
JS solution...