N-Queens Puzzle Game & Web Solver – Python and Web based Project This repository contains two interactive versions of the classic N-Queens problem:
- Play the N-Queens puzzle as a progressive level-based game.
- Sound effects:
- Success signal when completing a level.
- Unique sounds for correct and wrong queen placement.
- Animations: Console-based animations enhance the gameplay.
- Game Features:
- Menu with level selection.
- Restart, hint, and undo buttons.
- Customizable queen styles to personalize your experience.
- Smooth UI with interactive feedback.
- Choose N (4–20 queens) and watch the solver find solutions automatically.
- Displays all possible solutions with visual chessboard placement.
- Generates a search tree to show how the algorithm explores solutions.
- Supports multiple search techniques (BFS, DFS, etc.).
- Built with a simple and interactive web UI (HTML, CSS, JavaScript).
- Python – Core logic, game features, solver.
- HTML, CSS, JavaScript – Web-based visual interface.
- Algorithms – Backtracking, BFS, DFS, and more.
- A fun and interactive way to explore the N-Queens puzzle.
- Combines gameplay, visualization, and algorithmic learning.
- Great educational tool for understanding search algorithms and backtracking.
- Open-source project for students, educators, and developers.
# Clone the repository
git clone https://github.com/your-username/n-queens-game.git
# Navigate to the project folder
cd n-queens-game
# Run the Python game
python nqueens_game.py
# Or run the web solver (if Flask/Django used)
python app.py