Do all the haunts in Betrayal at House on the Hill follow a pattern?
This is a little tough to answer without spoilers, but to put it simply, there are a lot of haunts with hero win conditions that are similar to the ones you mentioned, but subtly different, or where the lose condition varies, and some where it doesn't fit your options.
The nature of Betrayal is that each haunt does change the rules of the game in a unique manner, and so after basic functionality the program would have to be deal with haunts on a per-case basis.

Answer by proxy for Samthere's comment. Comment if he posts his own answer and I will delete.