Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Problem searching too deep!

Author: Sune Fischer

Date: 11:17:27 05/28/02

Go up one level in this thread


On May 28, 2002 at 13:45:29, Heiner Marxen wrote:
>Habit or Hobbit?   :-))

habit :)

>
>>>>I also have the maximum number of pseudo legal moves set to 255, this must be
>>>>a potential bug too then?
>>>
>>>I think that the max number of legal moves is around 220. It's very well
>>>possible that the number of pseudo legal moves is above 255. So to answer your
>>>question: yes =)
>>
>>Hmmm 35 pins in one position I dare say must be impossible.
>
>Not 35 pins, but 35 pseudo legal moves, which are not legal since pinned.

Yeah ok.
Can you then make a legal position with more than 255 pseudo legal moves?
What is the position with 220 moves?

>>>Rule: When an application crashes because of user input, it's _always_ the
>>>application's fault - one way or the other.
>>>
>>>Sargon (very picky today :)
>
>I agree with Daniel (aka Sargon) here 100%.

So do I, basicly.
However I'm not selling the program, so I don't feel obligated to protect it
100% from user abuse :)
There is a protocol for the communication, right now I'm happy with just
supporting that. I think there is pretty good safety build into it actually.

>>Yes, I do have some checks on the FEN, but I have not accounted for every
>>possible broken fen possible.
>
>That is not necessary.  Just make sure, it cannot crash your program.
>If e.g. your program does well with 15 white queens, you need not reject that.
>But if it would crash and burn on that, better provide an error message,
>telling what's wrong.

There is a lot that can be broken in a FEN, too many things for me to get a
handle on at the moment.

>> It's something I do plan to secure in the future,
>>but its not very high on my list of priorities to be honest.
>>
>>-S.
>
>Your priorities are all yours, of course :-)

Oh thank you so much :)

-S.

>Cheers,
>Heiner



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.