60, height: 60 },
            { type: "tree", x: 550, y: 250, width: 50, height: 50 },
            { type: "wolf", x: 100, y: 50, width: 50, height: 50 },
            { type: "wolf", x: 500, y: 50, width: 50, height: 50 },
          ],
          680,
          480,
          []
        ), // Level 5: Complex obstacles
      ];

      // Flocking behavior logic
      function flock(sheepIndex) {
        let currentSheep = sheep[sheepIndex];
        let separation = { x: 0, y: 0 };
        let alignment = { x