Welcome, Guest. Please Login or Register.
May 17th, 2024, 1:38am

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « Commented games and pgn format »


   Arimaa Forum
   Arimaa
   General Discussion
(Moderator: supersamu)
   Commented games and pgn format
« Previous topic | Next topic »
Pages: 1 2 3  4 Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Commented games and pgn format  (Read 6280 times)
chessandgo
Forum Guru
*****



Arimaa player #1889

   


Gender: male
Posts: 1244
Commented games and pgn format
« on: May 20th, 2006, 11:51pm »
Quote Quote Modify Modify

Hi !
 
I wondered : is there a tool to view a game offline ? Or even online but "fake" games ? The official format is told to be pgn, but can really one create a pgn for arimaa readable for others ? I particularly think of commented games ; it would be great if commentaries could be inserted within the game so that you don't have to have two windows opened and shift constantly when viewing a commented game.
 
Jean
IP Logged

chessandgo
Forum Guru
*****



Arimaa player #1889

   


Gender: male
Posts: 1244
Re: Commented games and pgn format
« Reply #1 on: May 23rd, 2006, 12:26pm »
Quote Quote Modify Modify

Ok, I put my question where I know, and will try to stop polluting the forum in the future ...
IP Logged

Swynndla
Forum Guru
*****



Arimaa player #1821

   


Posts: 235
Re: Commented games and pgn format
« Reply #2 on: May 23rd, 2006, 4:47pm »
Quote Quote Modify Modify

You aren't polluting anything ... your post is a very good question ... I just don't think anyone knows any good answers.  I agree, I'd love to have comments coming up as I'm playing though a game (and have to option to turn this off and on).
IP Logged
BlackKnight
Forum Guru
*****



Arimaa player #695

   


Gender: male
Posts: 98
Re: Commented games and pgn format
« Reply #3 on: May 27th, 2006, 10:19pm »
Quote Quote Modify Modify

Ok, I tried a start.
(I guess at some time, viewing commented games can also be included into the flash client?)
 
Please check out
http://www.maenni.com/arimaa/gameviewer.php
 
I included one game for now.
 
The next thing I want to add is the possible for everyone to upload more games and add comments.
If you want to add more games right now, you can also download the game pgn from
http://arimaa.com/arimaa/games/pgn.cgi
 
add the comments by hand behind the moves using "{" and "}" to enclose a comment, and send me the file.
(Add variants enclosed by "(" and ")".)
 
I guess it will also be interesting to show variants.
 
Please let me know of more feature you would like to have included.
 
I took the javascript tutorial and added more functions into the script.
Please let javascript make the complete move before going on, otherwise the boards gets messed up completely! Smiley
IP Logged
chessandgo
Forum Guru
*****



Arimaa player #1889

   


Gender: male
Posts: 1244
Re: Commented games and pgn format
« Reply #4 on: May 27th, 2006, 11:40pm »
Quote Quote Modify Modify

wow ... you're tackling the problem ? Great !!!
 
Hum, by the way I tried your webpage but it doesn't seem to work ... the only thing I have is the introductory comment by RonWeasley ...
 
Maybe it comes from my browser  ...
 
great initiative anyway !!
IP Logged

BlackKnight
Forum Guru
*****



Arimaa player #695

   


Gender: male
Posts: 98
Re: Commented games and pgn format
« Reply #5 on: May 28th, 2006, 1:07am »
Quote Quote Modify Modify

Ok, fixed that hopefully.
 
It seems IE cannot understand string[i] in the javascript source. Firefox can! Wink
 
Which browser did you use?
IP Logged
Fritzlein
Forum Guru
*****



Arimaa player #706

   
Email

Gender: male
Posts: 5928
Re: Commented games and pgn format
« Reply #6 on: May 28th, 2006, 9:40am »
Quote Quote Modify Modify

I'm using Firefox, and I also can't get beyond the first move.  Maybe it is because of my slow dialup connection?  Thanks for working towards a new game viewer!
« Last Edit: May 28th, 2006, 9:41am by Fritzlein » IP Logged

chessandgo
Forum Guru
*****



Arimaa player #1889

   


Gender: male
Posts: 1244
Re: Commented games and pgn format
« Reply #7 on: May 28th, 2006, 11:36am »
Quote Quote Modify Modify

Hey, great, it works, even with Iexplorer ! but the whole board is shifted one line toward the bottom : there is actually a 9th line under the board, separed by some empty space, and the placing of pieces beings here ; it's wrong with respects with the traps thus.
I guess it's just a little bug you'll fix in a second Wink
 
Well done !
 
Jean
IP Logged

chessandgo
Forum Guru
*****



Arimaa player #1889

   


Gender: male
Posts: 1244
Re: Commented games and pgn format
« Reply #8 on: May 28th, 2006, 11:44am »
Quote Quote Modify Modify

ooops, with Firefox it works allright. What makes IE print a crazy extra line and shift everything Huh
Fritz : yes it's very slow, especially the first move ; maybe if you waited enough it would be ok.
IP Logged

BlackKnight
Forum Guru
*****



Arimaa player #695

   


Gender: male
Posts: 98
Re: Commented games and pgn format
« Reply #9 on: May 28th, 2006, 4:11pm »
Quote Quote Modify Modify

on May 28th, 2006, 9:40am, Fritzlein wrote:
I'm using Firefox, and I also can't get beyond the first move.  Maybe it is because of my slow dialup connection?

Did you ever try the javascript version of the Arimaa tutorial?
http://arimaa.com/arimaa/learn/tutorial/
 
Do you have the same problem there?
 
If too many browsers and javacript just introduce too many problems, then I will simple write a a little java application as offline game viewer.
IP Logged
chessandgo
Forum Guru
*****



Arimaa player #1889

   


Gender: male
Posts: 1244
Re: Commented games and pgn format
« Reply #10 on: May 28th, 2006, 5:22pm »
Quote Quote Modify Modify

on May 28th, 2006, 4:11pm, BlackKnight wrote:

 
 
If too many browsers and javacript just introduce too many problems, then I will simple write a a little java application as offline game viewer.

 
It would be great as well.
IP Logged

leo
Forum Guru
*****





   


Gender: male
Posts: 278
Re: Commented games and pgn format
« Reply #11 on: May 28th, 2006, 8:39pm »
Quote Quote Modify Modify

To those who can't get past the first move:
 
Did you click on the game number on the left of the board? This link loads the page with the cgi parameter for this game: http://www.maenni.com/arimaa/gameviewer.php?gameid=30021
 
Without this parameter set, the interface only shows one move in the game history list box. I suppose it actually shouldn't show any move since no game was asked for viewing.
 
It works for me on IE6. I have one extra row displayed too though.
IP Logged
Fritzlein
Forum Guru
*****



Arimaa player #706

   
Email

Gender: male
Posts: 5928
Re: Commented games and pgn format
« Reply #12 on: May 29th, 2006, 12:12pm »
Quote Quote Modify Modify

on May 28th, 2006, 8:39pm, leo wrote:
Did you click on the game number on the left of the board? This link loads the page with the cgi parameter for this game: http://www.maenni.com/arimaa/gameviewer.php?gameid=30021

Aha, that fixes it.  Very nice, BlackKnight.  What is the form of the raw file the reader is displaying?  Can it handle variations, or only comments on the moves actually played?
IP Logged

BlackKnight
Forum Guru
*****



Arimaa player #695

   


Gender: male
Posts: 98
Re: Commented games and pgn format
« Reply #13 on: May 29th, 2006, 9:11pm »
Quote Quote Modify Modify

on May 28th, 2006, 11:36am, chessandgo wrote:
I guess it's just a little bug you'll fix in a second Wink

Something like this! Wink
Just one ">" missing in the html code; IE couldn't recover.
IP Logged
BlackKnight
Forum Guru
*****



Arimaa player #695

   


Gender: male
Posts: 98
Re: Commented games and pgn format
« Reply #14 on: May 29th, 2006, 9:18pm »
Quote Quote Modify Modify

on May 29th, 2006, 12:12pm, Fritzlein wrote:

What is the form of the raw file the reader is displaying?

I am using the format that you get when you request the game pgn from
http://arimaa.com/arimaa/games/pgn.cgi
 
on May 29th, 2006, 12:12pm, Fritzlein wrote:

Can it handle variations, or only comments on the moves actually played?

Currently only comments enclosed by "{" and "}", hopefully some time soon variations enclosed by "(" and ")".
IP Logged
Pages: 1 2 3  4 Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

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