You have, unfortunately, discovered a genuine deadlock. 😅
There are dark forces in motion here. First comes the math. Then, later today, comes the article about it.
For now, I have a very easy fix: if you become X times larger than your opponent, you win. Or turn cap and end in draw. Problem solved. But I’m not entirely convinced I want to do that. Not because the stalemate isn’t important - it absolutely is - but because I can already imagine someone thinking: "Wait... how big can I actually get?".
So yes, this is an oversight. I’m going to think about whether the right solution is to eliminate the possibility entirely, or to put some kind of interesting endgame around it.
I’m curious, though: if you were designing the escape hatch during your match, what exit condition would you have expected to see? A turn limit? A size threshold? Something else entirely?
In the meantime: congratulations on reaching 169m. You may have accidentally become the first victim of your own defensive strategy :)
Errata: I’ve just realized there actually is an exit condition here: if you've anchored all your cards, can no longer draw from your library, and your graveyard is empty, you lose (the unfortunate part is that I hardcoded the AI to anchor enough cards to be able to cast its most expensive card, maybe plus 1-2 more if I remember correctly. So I’d still call this an oversight, but the underlying game does have an escape hatch!).