After many years thinking about programming this on other libraries, I finally programmed a French solitaire using P5js.
It is slightly different from Klondike, since it uses two decks, you can place ANY card (not only kings) on empty foundations and dealing rules are not the same.
(If someone gives me the name of this kind of solitaire, I would be grateful to know).
Works is still on progress: it can’t detect a victory or a defeat, and you can’t undo your moves. But it is playable and enjoyable.
You can see it at:
It took me 24 hours split over three days.
José G Moya Y.