Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second solution in Creative category for [old] Xs and Os Referee by vincent.tscherter
function xoReferee(a) {
var b = a.join("") + "QQQ";
return /^((...)*XXX|.*(X..){3}|X...X...X|..X.X.X)/.test(b) ? "X" : /^((...)*OOO|.*(O..){3}|O...O...O|..O.O.O)/.test(b) ? "O" : "D"
}
Nov. 5, 2016
Comments: