Refactor win logic and accouncement to judge