prompt done and stalemate implemented
merge