move the points array out of if block
broke up the ternary if-else
it's not all square, a deuce, adv or win