Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Is SMIRF compatible ... some Examples

Author: Reinhard Scharnagl

Date: 10:27:03 07/27/05

Go up one level in this thread


On July 27, 2005 at 12:21:18, Uri Blass wrote:

>On July 27, 2005 at 12:13:30, Keith Evans wrote:
>
>>On July 27, 2005 at 12:01:49, Reinhard Scharnagl wrote:
>>
>>>On July 27, 2005 at 11:49:52, F. Huber wrote:
>>>
>>>>On July 27, 2005 at 11:31:05, Reinhard Scharnagl wrote:
>>>>
>>>>>On July 27, 2005 at 11:19:07, F. Huber wrote:
>>>>>
>>>>>>On July 27, 2005 at 10:28:55, Reinhard Scharnagl wrote:
>>>>>>
>>>>>>>On July 27, 2005 at 09:42:55, Uri Blass wrote:
>>>>>>
>>>>>>>>As far as I understand there is already a tool to translate Shredder's notation
>>>>>>>>to your notation and the opposite(see
>>>>>>>>http://www.volker-pittlik.name/wbforum/viewtopic.php?t=3135).
>>>>>
>>>>>>>Second, the "Converter" cannot be bidirectional, because the FEN Shredder has
>>>>>>>chosen simply is incompatible.
>>>>>
>>>>>>What a NONSENSE!
>>>>>>
>>>>>>It would take me no more than 10 minutes to implement the reverse direction too,
>>>>>>but I simply don´t want to convert a logical, modern and easily understandable
>>>>>>FEN-format into the ancient X-FEN!   Point!
>>>>>
>>>>>Franz,
>>>>>
>>>>>if it would help you: it is not the fault of your tool.
>>>>
>>>>I really don´t need any help, Reinhard! ;-)
>>>>
>>>>>But fact is, that on Shredders side there are *two* FENs for *one* position.
>>>>>Ant thus there could not be bidirectional converting functions, full stop.
>>>>
>>>>I always thought you are a programmer - but now I´m really in doubt about it!
>>>>Do you really want to say that it´s impossible to convert both following strings
>>>>"rqbnkbnr/pppppppp/8/8/8/8/PPPPPPPP/RQBNKBNR w KQkq -" and
>>>>"rqbnkbnr/pppppppp/8/8/8/8/PPPPPPPP/RQBNKBNR w HAha -" into the first one, i.e.
>>>>into X-FEN?
>>>>Have you ever heard about an ´IF´ statement?
>>>>It exists in ´C´, ´Pascal´, even in ´Basic´ ... ;-)
>>>>
>>>>Do you need an example in natural language?
>>>>"IF CastleTag is ´HAha´ THEN convert it to ´KQkq´ ELSE do nothing!"
>>>>
>>>>I hope, I could help improving your programming skills ... :-)
>>>
>>>Franz,
>>>
>>>you must have done big efforts to continue to misunderstand my point of view:
>>>
>>>There is no pair of functions f() and f_invert() so that f_invert(f(x)) == x
>>>when x is any of Shredder's possible FENs.
>>>
>>>Reinhard.
>>
>>Please give one specific example of when this is not possible. This would help
>>to demonstrate your point.
>>
>>Keith
>
>He already did it.
>
>When you translate from Shredder-FEN to X-FEN you get
>f(rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq -)=
>f(rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w HAha -)
>
>so you cannot have
>f_invert(f(x)) == x
>
>I think that it is not a problem because FRC and chess are 2 different games
>from shredder point of view so there is no problem  in translation X_FEN to
>FRC(you cannot translate X_FEN to shredder without knowing if it is shredder in
>FRC mode or Shredder in chess mode).

Uri,

that is the critic point. It will cause incompatibilities to regard Chess960 to
be a completely distinct game. Reality is that traditional chess is included in
Chess960, which is a natural compatible superset to traditional chess.

If you want to experiment with a compatible solution (despite of using the TMCI
protocol inside) try to download SMIRF (beta free until end of September) at:

http://www.chessbox.de/Compu/schachsmirf_e.html

The specification for the ancient ;-) X-FEN you will find at:

http://www.chessbox.de/xfen_e.html and
http://www.chessbox.de/Compu/fullchess5b_e.html

Reinhard.



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.