Add N-Queens puzzle

Create an N-Queens puzzle where users can place queens on an n x n chessboard. The size of the board can be adjusted using a slider. A timer can be started before placing any queens. Clicking a square places a queen, and clicking a queen removes it. Attacked squares are visually indicated.
This commit is contained in:
gpt-engineer-app[bot] 2025-07-24 10:36:29 +00:00
parent a52dceb089
commit d050cbe520
5 changed files with 340 additions and 0 deletions

View file

@ -0,0 +1,12 @@
import React from 'react';
import NQueensPuzzle from '@/components/NQueensPuzzle';
const NQueensPuzzlePage = () => {
return (
<div className="min-h-screen bg-background">
<NQueensPuzzle showSocialShare={true} />
</div>
);
};
export default NQueensPuzzlePage;