Add check_stalemate function, add stalemate glass screen