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
#2
(Mar-20-2024, 01:25 PM)max22 Wrote: 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?

There are no errors and the code is provided. I do not follow what do you mean.
Reply


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

Possibly Related Threads…
Thread Author Replies Views Last Post
  a chess endgame problem, almost solved but not quite max22 0 220 Mar-31-2024, 06:14 PM
Last Post: max22
  A new endgame problem, almost solved but not quite 2 max22 0 299 Mar-07-2024, 07:12 PM
Last Post: max22
  Python trivial endgame engine is not working as expected max22 0 599 Feb-24-2024, 04:41 PM
Last Post: max22
  strange behavior of chess library in Python max22 1 404 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,151 Aug-31-2023, 05:36 PM
Last Post: deanhystad
  Code works but doesn't give the right results colin_dent 2 796 Jun-22-2023, 06:04 PM
Last Post: jefsummers
  Give a number for Variable quest 2 1,574 Jan-31-2022, 08:35 AM
Last Post: ibreeden
  Matching Exact String(s) Extra 4 2,015 Jan-12-2022, 04:06 PM
Last Post: Extra
  replace exact word marfer 1 6,377 Oct-11-2021, 07:08 PM
Last Post: snippsat
  Assistance with running a few lines of code at an EXACT time nethatar 5 3,404 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