LinkedIn Puzzle Game Solvers
A downloadable solver for Windows, macOS, and Linux
Download NowName your own price
GitHub: github.com/LelsersLasers/LinkedIPuzzleGameHelpers
D-WAVE's CQM (Constrained Quadratic Model) Quantum Annealer to solve LinkedIn's Tango and Queens in under 5 seconds!
Queens
- Flow:
- Read the input file and build a dictionary of regions
- Create a
ConstrainedQuadraticModel
and add contraints- Only one queen per row and column
- No 2 queens adjacent to each other
- No 2 queens in the same region
- Use the
LeapHybridCQMSampler
and find solutions (there should be only one) - Print the solution
- Input:
problems.txt
(grid where 2 spots having the same number mean the same region)
Tango
- Flow:
- Read the input file and find fixed suns/moons and links (x and =)
- Create a
ConstrainedQuadraticModel
and add contraints- Fixed suns/moons
- Same number of suns and moons in each row and column
- No 2 suns or moons adjacent to each other in a row or column
- Links
- Use the
LeapHybridCQMSampler
and find solutions (there should be only one) - Print the solution
- Input:
problems.txt
- Grid where S means sun, M means moon, comma (only) separated
- Afterwards, links are in the format:
x1,y1,x2,y2,[link]
where [link] is eitherx
or=
Published | 3 hours ago |
Status | Released |
Category | Tool |
Platforms | Windows, macOS, Linux |
Author | LelsersLasers |
Tags | annealer, dwave, linkedin, quantum, queens, solver, tango |
Average session | A few seconds |
Inputs | Keyboard, Mouse |
Accessibility | Color-blind friendly |
Links | Source code, GitHub, D-WAVE |
Download
Download NowName your own price
Click download now to get access to the following files:
LinkedIn Puzzle Game Solvers.zip 3.3 kB
Leave a comment
Log in with itch.io to leave a comment.