That’s essentially Optimotron.
And that’s some kind of internal deck tracker.
I suppose I should also remind you of Zephrys-like functionality for potential deck manipulation (e.g. ‘wish for a perfect card’ from your deck and subtly put it to the bottom), ensuring you don’t draw your winning cards… until the next game, like this: Oh, There You Are.