About
A fully playable Klondike solitaire game with drag, click and keyboard controls, undo, scoring and a seedable shuffle.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Solitaire to your project and fits it to your theme.
Code
How Solitaire is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Solitaire } from "@/components/ui/solitaire";
export default function SolitaireDemo() {
return (
<div className="flex w-full items-center justify-center p-6">
<Solitaire />
</div>
);
}








