ugly way to check mate
stalemate