Refactor interactive links

Update interactive links to generate unique URLs and categorize the pebble placement interactive under "Puzzles" while removing it from "DSA" and "Games".
This commit is contained in:
gpt-engineer-app[bot] 2025-08-21 10:59:06 +00:00
parent 0c19a83999
commit ba5dac212e
5 changed files with 19 additions and 16 deletions

View file

@ -0,0 +1,7 @@
import PebblePlacementGame from "@/components/PebblePlacementGame";
const PebblePlacementGamePage = () => {
return <PebblePlacementGame showSocialShare={true} />;
};
export default PebblePlacementGamePage;

View file

@ -6,6 +6,16 @@ const Puzzles = () => {
const navigate = useNavigate();
const puzzles = [
{
id: "pebble-placement",
title: "Pebble Placement Strategy Game",
description: "Place pebbles following specific rules to reach the furthest position possible. A strategic optimization puzzle!",
path: "/puzzles/pebble-placement",
tags: ["Strategy", "Logic", "Placement", "Optimization"],
difficulty: "Intermediate" as const,
duration: "5-15 min",
participants: "1 player"
},
{
id: "sikinia-parliament",
title: "Parliament of Sikinia Puzzle",