It is currently Mon May 05, 2025 11:51 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
Offline
 Post subject: FEN
Post #1 Posted: Mon Jul 27, 2015 10:13 pm 
Dies in gote

Posts: 52
Location: Taipei, Taiwan
Liked others: 87
Was liked: 9
Rank: Taiwan 2 kyu
I've done some chess playing on the computer as I mentioned before. For chess computer files there are two sorts of very commonly used public formats.

One is pgn portable game notation. The other is FEN Forsyth-Edwards Notation.

pgn is more a format for storing games (or game fragments). The entries in the files are game data (Player names, rating, date, etc) and a list of moves. This seems to be very similar to sgf.

FEN is different in that it is just a quite compact way of representing a position on the board. It includes things like whose move it is, castling rights, etc.

Now it seems to me the problem with translating this notion to go is that your position statement is going to look a lot like your move list statement. So there may not be much of a way to compactify the info.

So just a question to find out if any super smart person has found a way to do this, or if there is a simple way to copy and paste a game position rather than a whole game.

Top
 Profile  
 
Offline
 Post subject: Re: FEN
Post #2 Posted: Tue Jul 28, 2015 6:51 am 
Lives with ko

Posts: 170
Liked others: 32
Was liked: 119
Rank: KGS 4 kyu
sgf can store both game records and position setup.
http://www.red-bean.com/sgf/

Top
 Profile  
 
Offline
 Post subject: Re: FEN
Post #3 Posted: Tue Jul 28, 2015 2:40 pm 
Oza

Posts: 2264
Liked others: 1180
Was liked: 553
there's an ascii diagram format for showing game positions
viewtopic.php?f=18&t=226

Top
 Profile  
 
Offline
 Post subject: Re: FEN
Post #4 Posted: Tue Jul 28, 2015 10:02 pm 
Dies in gote

Posts: 52
Location: Taipei, Taiwan
Liked others: 87
Was liked: 9
Rank: Taiwan 2 kyu
Thanks for the links!


Rémi wrote:
sgf can store both game records and position setup.
http://www.red-bean.com/sgf/


Interesting, I will have to dig into that website a bit.


xed_over wrote:
there's an ascii diagram format for showing game positions
viewtopic.php?f=18&t=226


Thanks for the tip. I have started messing around with some of the board tags and whatnot.

It's possible that I'm partly confusing the functionality of programs like chessbase or chess assistant with the file formats. I will try to learn more.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group