Move domino playing logic into AIPlayer