ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

fen to fen functions
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Uri Blass



Joined: 08 Mar 2006
Posts: 5958
Location: Tel-Aviv Israel

PostPost subject: fen to fen functions    Posted: Mon May 21, 2007 10:17 am Reply to topic Reply with quote

I wonder if there is a free program with source that finds symmetric positions of a specific position.

The program simply should get a fen and parameter (same side to move in case that there is no problem because of castling rights or different side to move) and return a symmetric fen

Example:

The program should get the following fen

[D]4k3/8/8/pppppppp/8/8/PPPPPPPP/4K3 w - - 0 1
   ::    :: BK ::    ::
::    ::    ::    ::    
   ::    ::    ::    ::
BP BP BP BP BP BP BP BP
   ::    ::    ::    ::
::    ::    ::    ::    
WP WP WP WP WP WP WP WP
::    ::    WK    ::    


it can return the following fens(when the first is for the same side to move and the second is for different side to move)

[D]3k4/8/8/pppppppp/8/8/PPPPPPPP/3K4 w - - 0 1
   ::    BK    ::    ::
::    ::    ::    ::    
   ::    ::    ::    ::
BP BP BP BP BP BP BP BP
   ::    ::    ::    ::
::    ::    ::    ::    
WP WP WP WP WP WP WP WP
::    :: WK ::    ::    

[D]4k3/pppppppp/8/8/PPPPPPPP/8/8/4K3 b - - 0 1
   ::    :: BK ::    ::
BP BP BP BP BP BP BP BP
   ::    ::    ::    ::
::    ::    ::    ::    
WP WP WP WP WP WP WP WP
::    ::    ::    ::    
   ::    ::    ::    ::
::    ::    WK    ::    
Back to top
View user's profile Send private message
Display posts from previous:   
Subject Author Date/Time
fen to fen functions Uri Blass Mon May 21, 2007 10:17 am
      Re: fen to fen functions Alessandro Scotti Mon May 21, 2007 3:20 pm
      Re: fen to fen functions Reinhard Scharnagl Mon May 21, 2007 5:10 pm
            Re: fen to fen functions Uri Blass Tue May 22, 2007 1:21 pm
                  Re: fen to fen functions Alessandro Scotti Tue May 22, 2007 3:46 pm
                        Re: fen to fen functions Uri Blass Tue May 22, 2007 4:24 pm
                              Re: fen to fen functions Alessandro Scotti Tue May 22, 2007 4:46 pm
                                    Re: fen to fen functions Uri Blass Thu May 24, 2007 12:52 pm
                                          Re: fen to fen functions Uri Blass Thu May 24, 2007 4:51 pm
                                                Re: fen to fen functions Uri Blass Thu May 24, 2007 8:13 pm
                                    Re: fen to fen functions Steffan Westcott Sat Jun 02, 2007 5:05 pm
                              Re: fen to fen functions Dann Corbit Tue May 22, 2007 6:33 pm
      Re: fen to fen functions Dann Corbit Mon May 21, 2007 5:48 pm
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads