The AI plays Klondike knowing only what you could see, and wins about 45% of deals.
It never looks at a face-down card. The stock is different: you can flip through it as many times as you like, so every card in it is one you could reach. The bot treats the stock and the waste as one pool of cards it can use, and playing one of them means drawing until it's on top.
Each turn it tries every move it could make, and every move after that, and scores where each line ends up:
Every move costs a point, so it only moves cards around when that leads somewhere. If nothing within two moves helps, it looks further ahead, up to six moves. Here's one turn from a real deal: every move it could make, and how much better than doing nothing the best line after it scores.
The top move is the one it plays.
It remembers every position the deal has been in and never moves back into one. That's what stops it from moving the same card back and forth forever. When every move it has leads somewhere it's already been, it's stuck, and the deal is lost.
Over 200 deals it won 45%. Some deals can't be won by anyone, and some come down to what happens to be face down.