Hacker News new | ask | show | jobs
by palsecam 723 days ago
Thanks!

The algorithm is described here: https://FreeSolitaire.win/strategy I came up with it by myself.

“The strategy presented here is the basis of the computer algorithm of FreeSolitaire.win, which is used to select finishable deals, offer hints, and detect dead-ends. You also see it surface when you are told that The computer could do it in N moves at the end of a game.

This strategy/algorithm is quite simple. It does not require to “count cards”, i.e. keep track of which cards were seen in the stock. It doesn’t require to make guesses on where such or such face-down card must be located. And the procedure is the same all along the game; there is no special treatement of the opening or ending. It’s stateless, a programmer would say. […]”

1 comments

>I came up with it by myself.

That is truly great, @palsecam. I love HN because of this!