Can you solve this chess puzzle? (8 Queens problem)
ฝัง
- เผยแพร่เมื่อ 29 ธ.ค. 2024
- Consider supporting my work by donating to my PayPal:
www.paypal.com...
Interesting chess puzzle I heard about in my graph theory class. Talking about how to approach solving it, different algorithms for finding the solution and testing them out in a console application.
Try solving the puzzle here:
www.datagenetic...
Source code for the backtracking algorithm:
www.geeksforge...
#Coding #Puzzle #Chess
_________________________________________________________
Social media:
● Facebook: / youtubedoubled
● Twitter: / youtubedoubled
● Twitch: / notdoubled
I love this new type of video on your channel. I'm really looking forward to seeing more. You can tell you really love this and are genuinely interested in the topic. Keep up the good work!!!
Thank you for all the kind words and encouragement, Miss Dodic!
@@DoubleDTH-cam You're most welcome 😊
Number of combination should be 8^8.
P.S. - He did it.
It's a really complex puzzle which requires alot of chess tactics I had to find out more about it when I was playing it on the 3ds game called 50 game in one it's one way of really test your I.Q I'm gonna check out more videos on for more coding ❤👏💥💥
bro i really need to lean coding and you help me with this
I'm glad I can help you on your journey!
@@DoubleDTH-cam will you?
And i found a solution QB1 QE2 QG3 QA4 QC5 QH6 QF7 QD8
OMG it works
Nice
You are so smart
we can find all the 92 solutions if we have nothing better to do in life, man!!!
The key is place a Queen first use Knights movement to place next queen
Yes, but you need to take in account all previously placed queens, not just the last one
@@DoubleDTH-cam there will be only 2 possible places for the queen in row or column from the adjacent queen. That's why I missed that point. I thought it will be a easy task if the trick is known.
When I was 13 I abled to put 7 solutions
Floor Gang Aghoo
do u have any code for 8 queens chess
There's a link in the description for the source code for solving the N-Queens problem. You can also find the code for 8-Queens problem on the same webiste (GeeksforGeeks).
Thanks bro, tomorrow is my graph theory exam
No problem, good luck on the exam!
Why do you have a solution on your thumbnail…
You're the first one who noticed and for that, you get a payment of 1 milion US dollars
odakle si
Iz Leskovca :)
If you have nothing better to do with your life 😂😂😂😂😂😂
👍
i solved this 30 years ago :D
I wasn't born 30 years ago :D
@@DoubleDTH-cam it is not my problem : D
@@kuttmutt :(