Arimaa Forum (http://arimaa.com/arimaa/forum/cgi/YaBB.cgi)
Arimaa >> General Discussion >> FEN string?
(Message started by: pallab on Nov 23rd, 2008, 11:44am)

Title: FEN string?
Post by pallab on Nov 23rd, 2008, 11:44am
Is there any way to get a FEN like string at a given position of the game.

Title: Re: FEN string?
Post by Fritzlein on Nov 23rd, 2008, 2:54pm
I don't think any such thing is defined for Arimaa, but we could define it right now and it might become standard.


 +---+---+---+---+---+---+---+---+
8 | r |   |   | m |   |   |   |   |
 +---+---+---+---+---+---+---+---+
7 | r | R | c | D |   | d | r | r |
 +---+---+---+---+---+---+---+---+
6 |   |   | * | c | r | R | R |   |
 +---+---+---+---+---+---+---+---+
5 | h | r |   |   |   |   | d |   |
 +---+---+---+---+---+---+---+---+
4 | e | E | r |   |   |   |   |   |
 +---+---+---+---+---+---+---+---+
3 | H |   | * |   | M | * | R |   |
 +---+---+---+---+---+---+---+---+
2 |   | R | R |   | H | h | R | r |
 +---+---+---+---+---+---+---+---+
1 |   |   | C | C |   | D |   | R |
 +---+---+---+---+---+---+---+---+
   a   b   c   d   e   f   g   h


Imitating FEN from chess, the above diagram would (I think) be

r2m4/rRcD1drr/3crRR1/hr4d1/eEr5/H3M1R1/1RR1HhRr/2CC1D1R

If I may ask, why do you want to use FEN for Arimaa positions?

Title: Re: FEN string?
Post by pallab on Nov 23rd, 2008, 9:21pm
Sure :),  
I am playing a game here against ThePhantom, and posting at schemingmind.com forum. There one can only post position as a FEN string and corresponding diagram is auto-generated. I have already given the link to the game, but thought that addition of FEN diagram would be more appealing.

Title: Re: FEN string?
Post by Fritzlein on Nov 24th, 2008, 3:09pm
Very cool.  Thanks for spreading Arimaa into yet another corner of the gaming universe!  For the rest of you, here's the link I found:
http://www.schemingmind.com/topic.aspx?topic_id=30012

But why is black missing a pawn?

I input the FEN for the game so far to get you started...

Title: Re: FEN string?
Post by rajmahendra on Aug 14th, 2009, 10:57am
Let me add one more item in the FEN . The next move

r2m4/rRcD1drr/3crRR1/hr4d1/eEr5/H3M1R1/1RR1HhRr/2CC1D1R  G or s

G Gold
s silver

we can use capital or lower case. or black or white..

How we standardize it, depends.



on 11/23/08 at 14:54:27, Fritzlein wrote:
I don't think any such thing is defined for Arimaa, but we could define it right now and it might become standard.


 +---+---+---+---+---+---+---+---+
8 | r |   |   | m |   |   |   |   |
 +---+---+---+---+---+---+---+---+
7 | r | R | c | D |   | d | r | r |
 +---+---+---+---+---+---+---+---+
6 |   |   | * | c | r | R | R |   |
 +---+---+---+---+---+---+---+---+
5 | h | r |   |   |   |   | d |   |
 +---+---+---+---+---+---+---+---+
4 | e | E | r |   |   |   |   |   |
 +---+---+---+---+---+---+---+---+
3 | H |   | * |   | M | * | R |   |
 +---+---+---+---+---+---+---+---+
2 |   | R | R |   | H | h | R | r |
 +---+---+---+---+---+---+---+---+
1 |   |   | C | C |   | D |   | R |
 +---+---+---+---+---+---+---+---+
   a   b   c   d   e   f   g   h


Imitating FEN from chess, the above diagram would (I think) be

r2m4/rRcD1drr/3crRR1/hr4d1/eEr5/H3M1R1/1RR1HhRr/2CC1D1R

If I may ask, why do you want to use FEN for Arimaa positions?


Title: Re: FEN string?
Post by Fritzlein on Aug 14th, 2009, 6:06pm
In Beginning Arimaa, I proposed putting the move number and side to move in front of the position.  For example 28s rrr2rr1/2cdcd1r/3h2r1/8/HDE5/1r2e3/RRCD2C1/1RR2RRR would indicate that it is Silver's turn to move, and even specify that move 28s is upcoming.  But I have no idea whether my proposal is reasonable or not, because I have never needed to record a position in condensed fashion.

Title: Re: FEN string?
Post by rajmahendra on Aug 14th, 2009, 7:15pm
Wooow this is nice idea of 28s on friend !!Bravo!! :) i didn't thought of that

I see that bot can use the FEN notation to get the board position and sent the best move back to the front end.

not sure how current bot works.

and I yet to buy your book :( but will do it soon :)


on 08/14/09 at 18:06:30, Fritzlein wrote:
In Beginning Arimaa, I proposed putting the move number and side to move in front of the position.  For example 28s rrr2rr1/2cdcd1r/3h2r1/8/HDE5/1r2e3/RRCD2C1/1RR2RRR would indicate that it is Silver's turn to move, and even specify that move 28s is upcoming.  But I have no idea whether my proposal is reasonable or not, because I have never needed to record a position in condensed fashion.




Arimaa Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.