An open API service indexing awesome lists of open source software.

https://github.com/themysterysolver/9-queens-solver

"Chrome extension to solve 9 QUEENS of linkedin"
https://github.com/themysterysolver/9-queens-solver

backtracking chrome-extension daily-puzzle-game js linkedin queens-problem queens-solver

Last synced: 6 months ago
JSON representation

"Chrome extension to solve 9 QUEENS of linkedin"

Awesome Lists containing this project

README

          

## 🎯QUEEN'S SOLVER LINKEDIN
- This is a *daily game* in linkedin I recently got playing.
- This chrome extension solves the `queen's game`.
- So what does this repo do?
- I have created `2` **extensions**,
- The one you can use while you are not signed in `QUEENS_EXTENSION`🏁
- Then the next one where you have can use when u have logged in ***linkedin***,thne use `QUEENS_EXTENSION_V2`πŸ”‘
- works with any size
- Follows the below rules
## πŸ“œGame rules
- **RULE-1:** A queen should be placed in every `row` ,`col` and `color grid` but just ***1***.
- **RULE-2:** No `2` queens can be adjacent (that is within `8` adjacent squares by contact) and they are allowed to be in same diagonal though unlike traditonal queen's algo.
## πŸŽ₯DEMO
https://github.com/user-attachments/assets/5c4442c3-610b-418c-86cc-319a50f3196c

## HOW TO USE MY EXTENSION?🧠
- Download `QUEENS_EXTENSION` or `QUEENS_EXTENSION_V2` on your need.
- Go to `chrome://extensions/`
- Then on *top-right* enable ***developer mode***.
- Then on *top-left* click ***Load unpacked*** browse the path where have downloaded my folder.
- Click it.
- Now use it as per demo.
## πŸ’‘WHY THIS REPO?
- I love shortcuts and smart work.πŸ•Ί
- I wanted code *backtracking*,I am crazy on DSA.😁
- Got inspiration from leetcode[51.N-QUEENS](https://leetcode.com/problems/n-queens/description/)πŸ†
- To learn how ***extension works!!*** πŸ—οΈ
- How to scrape and search in a web.πŸ”

## REPO STRCUTURE
```
β”œβ”€β”€ PROTOTYPE
β”‚ β”œβ”€β”€ TEST CASES
β”‚ └── prototype.js
β”œβ”€β”€ QUEENS_EXTENSION
β”œβ”€β”€ QUEENS_EXTENSION_V2
β”‚ β”œβ”€β”€ manifest.json
β”‚ β”œβ”€β”€ popup.html
β”‚ └── queens.js
└── the_making.md
```
- `PROTOTYPE/prototype.js` has the backtracking algo
- `PROTOTYPE/TEST CASES` contain the test-cases which i got for validation.