A small insight about endings

in #hive-1572863 years ago

An small insight abour endingstmBBYX5bHdWwpRqSL94RSMiyWjGq2vDzvUBWtwPqP1F97dssghkMMMWH9hcwnunHXbw.jpg
source

What is intelligence?
What is the point of reasoning and thinking
when it is possible to access a resource that gives all the answers?

I got married in December of 1999 (...just in case the world ended in 2000...) They gave me many days off, more than I expected. My wife went back to work before I did, so I had long hours of leisure, free from worries...

I felt at peace. There was no problem I couldn't solve. The revelation came down clear as water, diaphanous as crystal.

I was reminded of a problem that had been bothering me months before. It was a chess problem for which I found no evidence that it had been solved at that time. Expert programs solved many problems, but they didn't solve this one. It is almost impossible for the human to improvise a real-time solution to this problem without knowing the theory. A final and conclusive pronouncement on the subject could not be found on the Internet.

...But I saw the solution, so...

I sat down to write an algorithm.

“In the beginning God created the heavens and the earth.
and the earth was without form and void,
and darkness was over the face of the deep,
and the Spirit of God moved over the face of the waters.
and God said: Let there be light; and it was light.
and God saw that the light was good;
and God separated the light from the darkness.
and God called the light Day,
and the darkness he called Night.
and there was evening and morning one day» [The bible]

I translated the algorithm into a programming language
and I told to him: "RUN..."

Like a standing beast he got up and began to walk,
leaning more to one side than the other.

It took six days for him to calculate sixteen million answers = Six days to resolve sixteen million positions. It was no longer necessary to reason, just look for the answers where they were stored. I added my wife's voice saying "CHECK", "CHECK MATE", "IMPOSSIBLE TO FORCE MATE", and I had fun watching what I had never seen before: a chess program that, with instant moves, corners and gives death to the opposing king in a bishop and knight endgame.

To this date, there are no programs in the world that play perfect chess, despite what the movies show. It is, in fact, a more difficult problem to solve than the map of the human genome.

I will write about this later.



Text Credits: Amaponian Visitor (@amaponian)


Introducemyself

Mis Tonterías

Sort:  

If you ask me we usually have the best ideas in that moments when we are related you know and in chess is actually like that. But i still don't get a few things of your post, are you going to share the algoritm or could you please let us know more about it? maybe I missing something

!PIZZA

I guess it was meant more metaphorically, 6 days to calculate 16 mio positions? A modern computer can do this in a minute or less.

Yeah but still cool if it's a program developed at home you know

Good you noticed this. Thank you!

Not metaphorically, the program took that many days due to four reasons:

  1. My program was a background app. My relatives could use the computer. Sometimes they shutdown the pc. On restart, the program was able to continue where he had left.
  2. The revision of every position may occur several times (a bit more explained here)
  3. My computer was kind of slow.
  4. The code was not the best.

Thank you for the pizza.
I wish I could know how to eat it.

---o---

Yes, I'm willing to write more about how to program a solver for the bishop & knight endings (and other endings). Because of your comment, in my next post I'm going to talk about how I did it, the basic logic I got from the air.

Awesome I'll stay tuned 👍

Here it is!

Feel free to ask for whatever thing you don't understand, or you think is missing or mistaken.

PIZZA!

PIZZA Holders sent $PIZZA tips in this post's comments:
@vjap55(3/5) tipped @amaponian (x1)

Join us in Discord!

Very interesting and entertaining insight into endings and algorithms. I am looking forward to your writings about bishop & knight endings algorithms.

content1.png
I have a chess program from a few years ago it uses an algorithm to calculates the moves instead of evaluating every move. I don’t think I will solve the algorithm any time soon. Maybe your logic can give me some insight for my algorithm. Oh Yea when I solve my algorithm I am going to say: MAKE IT SO ! (of course a startrek reference)

Some people think that chess will never be solved. Saying that is to underestimate the strength of the new generations.

Mine is a brute force method (just a little bit of intelligence) it can only work well when there are very few pieces on the board.

Thanks for your comment.
Greetings from Venezuela.

Done. Check the link

Feel free to ask whatever you want.

Congratulations!


You have obtained a vote from CHESS BROTHERS PROJECT

✅ Good job. Your post has been appreciated and has received support from CHESS BROTHERS ♔ 💪


♟ We invite you to use our hashtag #chessbrothers and learn more about us.

♟♟ You can also reach us on our Discord server and promote your posts there.

♟♟♟ Consider joining our curation trail so we work as a team and you get rewards automatically.

♞♟ Check out our @chessbrotherspro account to learn about the curation process carried out daily by our team.


Kindly

The CHESS BROTHERS team

Gracias por la invitación.
Saludos a Rosmarly Chghale.