You could always have multiple paths - getting a question wrong opens up the "bad" door which has a path that has traps, etc. If the user answers correctly, a "good" door is opened that gives players bonuses, lives, coins, etc.