Skip to content

Conversation

@Shariq2003
Copy link
Contributor

@Shariq2003 Shariq2003 commented Oct 12, 2024

Description

N-Queens Visualiser! This web application allows you to visualize the classic N-Queens problem, where the objective is to place N queens on an N x N chessboard such that no two queens threaten each other. This is achieved by ensuring that no two queens share the same row, column, or diagonal.

Closes: #825

  • Title: N-Queen Visualizer
  • Name: Shariq
  • Idenitfy yourself:
    GSSOC Ext

Describe the add-ons or changes you've made 📃

Added N-Queen Visualizer, a project of Backtracking that help to understand the N-Queen Problem by the Viusualization of it.

Screenshots 📷

image
image

bandicam.2024-10-11.22-28-13-218.mp4

Type of change ☑️

What sort of change have you made:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist: ☑️

  • My code follows the Contributing Guidelines & Code of Conduct of this project.
  • This PR does not contain plagiarized content.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly wherever it was hard to understand.
  • My changes generate no new warnings.

@vercel
Copy link

vercel bot commented Oct 12, 2024

@Shariq2003 is attempting to deploy a commit to the avdheshvarshney's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

Thank you for submitting your pull request! We'll review it as soon as possible. For further communication, join our discord server https://discord.gg/tSqtvHUJzE.

@Avdhesh-Varshney Avdhesh-Varshney added Requested Changes ⚙️ Warning: Follow Guidelines https://github.com/Avdhesh-Varshney/WebMasterLog/issues/108 labels Oct 13, 2024
@Shariq2003
Copy link
Contributor Author

Shariq2003 commented Oct 13, 2024

@Avdhesh-Varshney sir, please review

  1. I have updated readme of the project to include images and videos
  2. Update Readme of VanilaJS Projects
  3. Follow Cabab Casing.

@Shariq2003
Copy link
Contributor Author

@Avdhesh-Varshney sir, please review this PR,


const para = document.createElement("p");
para.setAttribute("class", "queen-info");
para.innerHTML = `For ${n}x${n} board, ${array[n] - 1} arrangements are possible.`;

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML Medium

DOM text
is reinterpreted as HTML without escaping meta-characters.
@Shariq2003
Copy link
Contributor Author

@Avdhesh-Varshney sir, now i have reviewed all the changes and make the PR ready to merge.
Please review

Copy link
Member

@Avdhesh-Varshney Avdhesh-Varshney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This time, I've done changes. Review them by your own so that next time. It will not repeat.

@Avdhesh-Varshney Avdhesh-Varshney merged commit dc741c6 into Code-A2Z:main Oct 16, 2024
1 of 2 checks passed
@Shariq2003
Copy link
Contributor Author

This time, I've done changes. Review them by your own so that next time. It will not repeat.

Okay sir thanks

@NEGRAH-S
Copy link

@MastanSayyad , Only Project addition cannot allow Level 3

Copy link
Contributor

@MastanSayyad MastanSayyad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Avdhesh-Varshney reduce to level 2

@Shariq2003
Copy link
Contributor Author

@Avdhesh-Varshney reduce to level 2

Agreed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

📃: Addition of N-Queen Visualiser | DSA Projects | Backtracking

4 participants