Lore race
Count the turns to 20 lore for both players.
You win the race
You need 3 more turns; they need 3. Keep questing.
This assumes both lore rates stay the same. Each challenge that banishes a quester changes the math.
Learn the whole game
This tool goes with Module 5, “Questing and Challenging,” of the Lorcana course. Module 1 is free. The full course is $19, or $49 for all six games.