working play loop, checks invalid/full board.