The game ends immediately if either a total of three quests have succeeded or three have failed.
If three quests failed, then evil wins.
If three quests succeeded, then the evil players get one final chance to win the game.
After discussion, the player with the Assassin character card reveals that card and then names one player on the good team. If the player he names is Merlin, then evil wins. Otherwise, good wins.