Add Dogs and Bunny puzzle

Recreate the Dogs and Bunny puzzle with functionality for random puzzle generation at varying difficulty levels (easy, medium, hard). Allow users to screenshot puzzles or solutions. Implement puzzle sharing via URL parameters.
This commit is contained in:
gpt-engineer-app[bot] 2025-08-10 05:03:17 +00:00
parent 81f6873c4d
commit 61feaaf9e9
6 changed files with 553 additions and 1 deletions

View file

@ -0,0 +1,17 @@
import React from "react";
import Layout from "@/components/Layout";
import DogsBunnyPuzzle from "@/components/DogsBunnyPuzzle";
const DogsBunnyPuzzlePage: React.FC = () => {
return (
<Layout>
<main className="py-10 px-4">
<div className="max-w-6xl mx-auto space-y-4">
<DogsBunnyPuzzle />
</div>
</main>
</Layout>
);
};
export default DogsBunnyPuzzlePage;

View file

@ -55,6 +55,16 @@ const Puzzles = () => {
difficulty: "Intermediate" as const,
duration: "5-15 min",
participants: "1 player"
},
{
id: "dogs-bunny",
title: "Dogs & Bunny Puzzle",
description: "Move the dog to a bone by navigating edges whose conditions depend on where animals are.",
path: "/puzzles/dogs-bunny",
tags: ["Logic", "Graph", "Dependencies"],
difficulty: "Intermediate" as const,
duration: "5-20 min",
participants: "1 player"
}
];