diff --git a/src/components/KnightsPuzzle.tsx b/src/components/KnightsPuzzle.tsx index 8397d22..76e1050 100644 --- a/src/components/KnightsPuzzle.tsx +++ b/src/components/KnightsPuzzle.tsx @@ -4,6 +4,7 @@ import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/com import { Badge } from "@/components/ui/badge"; import { RefreshCw, RotateCcw, ExternalLink } from "lucide-react"; import { toast } from "sonner"; +import SocialShare from "@/components/SocialShare"; type Piece = 'white' | 'black' | null; type Position = { row: number; col: number }; @@ -172,12 +173,9 @@ const KnightsPuzzle = ({ showSocialShare = false }: KnightsPuzzleProps) => { return (
Can the black and white knights swap places using legal chess moves? Move knights by clicking on them, then clicking on a valid destination.
@@ -310,6 +308,14 @@ const KnightsPuzzle = ({ showSocialShare = false }: KnightsPuzzleProps) => {