Add stalemate functionality