Python Forum
optimum chess endgame with D=3 pieces doesn't give an exact moves_to_mate variable
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
optimum chess endgame with D=3 pieces doesn't give an exact moves_to_mate variable
#1
I have just upgraded my code for computing completely optimally for both players a chess endgame as given here:
https://pastebin.com/jQ090L01 but it gives to me 2 plies to checkmate White instead of correct 4 plies according to StockFish.

Can someone give me a hint how to fix this and where is the source of the problem?
Larz60+ write Mar-21-2024, 10:24 AM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Reply


Messages In This Thread
optimum chess endgame with D=3 pieces doesn't give an exact moves_to_mate variable - by max22 - Mar-20-2024, 01:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  a chess endgame problem, almost solved but not quite max22 0 229 Mar-31-2024, 06:14 PM
Last Post: max22
  A new endgame problem, almost solved but not quite 2 max22 0 303 Mar-07-2024, 07:12 PM
Last Post: max22
  Python trivial endgame engine is not working as expected max22 0 609 Feb-24-2024, 04:41 PM
Last Post: max22
  strange behavior of chess library in Python max22 1 409 Jan-18-2024, 06:35 PM
Last Post: deanhystad
Question in this code, I input Key_word, it can not find although all data was exact Help me! duchien04x4 3 1,162 Aug-31-2023, 05:36 PM
Last Post: deanhystad
  Code works but doesn't give the right results colin_dent 2 805 Jun-22-2023, 06:04 PM
Last Post: jefsummers
  Give a number for Variable quest 2 1,578 Jan-31-2022, 08:35 AM
Last Post: ibreeden
  Matching Exact String(s) Extra 4 2,018 Jan-12-2022, 04:06 PM
Last Post: Extra
  replace exact word marfer 1 6,397 Oct-11-2021, 07:08 PM
Last Post: snippsat
  Assistance with running a few lines of code at an EXACT time nethatar 5 3,414 Feb-24-2021, 10:43 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020