Home » Forum Home » General

Topic: File Format Proposal for Pente Games
Replies: 5   Views: 34,742   Pages: 1   Last Post: Sep 1, 2000, 7:23 PM by: andre

Search Forum

Back to Topic List Topics: [ Previous | Next ]
Replies: 5   Views: 34,742   Pages: 1  
andre

Posts: 30
Registered: Dec 16, 2001
From: Sao Paulo - Brazil
Age: 38
Home page
File Format Proposal for Pente Games
Posted: Aug 31, 2000, 11:01 PM

Sometime ago I've been discussing this idea with
Dweebo but we did not concluded the discussion.


Besides Pente I also play Chess and there is a standard
called PGN (Portable Game Notation). It is a file format
standard that is used by almost all computer chess
programs and databases.

Documentation about PGN can
be found
at:
http://home.vicnet.net.au/~chess/pgn.html
http://www.funet.fi/pub/doc/games/chess/ddg/Events/DDGA96/pgn.html
http://www.very-best.de/pgn-spec.htm (COMPLETE REF.)

At
that time I was
planning to write a game viewer.

I was wondering
that would be useful to have also a standard notation
for Pente Games and widely documented file format for
it. Sites like Dweebo's, IYT, and Richard's could
adopt them. Computer Pente software (like Mammel's)
could also be able to read and save files in that
format.

One of the advantages of this new format is that
(like pgn format) it would become easier to keep
databases. Easier to make computers programs to understand
and generate it. One single file would be able to
keep as many games as wanted. And, finnaly it would
become a standard.

My idea is to specify this
file format and suggest to above sites to adopt it.
Also Dweebo, Mammel and others could also contribute
for this specification process.

I was thinking
to use a format based on PGN structure that would
have some Mandatory Tags and some Optional
Ones.

I even have thought that we could use the same file
specification for other games like GoMoku and Keyro-Pente. It
would only be necessary to have a tag to specify which
game is being described. Also we could specify a tag
to specify the board size (like [Board Size 13]).
This would allow IYT to use it also on their smaller
Pente Board.

We could specify tags for openning
rules, timing options, players ratings, and so
on.

Also we could also specify a format to describe
positions.

What do you think about the idea?

Gary? Mammel?
Dweebo? Stepanov?


André Velloso



This message was originally posted at Yahoo's pente group.


andre

Posts: 30
Registered: Dec 16, 2001
From: Sao Paulo - Brazil
Age: 38
Home page
PGN Format and sample file
Posted: Aug 31, 2000, 11:01 PM

PGN Format and sample file:

Some common
categories (Tags) found in PGNs are (in normal order of
appearance):

Event
The tournament or other event the game was
played at.
Site
The (real or cyber-) location
this tournament was held at.
Date
The date the
game was played on.
Round
The round of the
tournament it was played in.
White
The name of the
white player, in First-Name, Last-Name form.

Black
The name of the black player.
Result

1-0, 0-1, 1/2-1/2.
ECO
The Encyclopedia of
Chess Openings code for the opening.


PGN
Sample:

[Event F/S Return Match]
[Site Belgrade, Serbia
JUG]
[Date 1992.11.04]
[Round 29]
[White Fischer,
Robert J.]
[Black Spassky, Boris V.]
[Result
1/2-1/2]
1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O-O Be7
6. Re1 b5 7. Bb3 d6 8. c3 O-O 9. h3 Nb8 10. d4 Nbd7
11. c4 c6 12. cxb5 axb5 13. Nc3 Bb7 14. Bg5 b4 15.
Nb1 h6 16. Bh4 c5 17. dxe5 Nxe4 18. Bxe7 Qxe7 19.
exd6 Qf6 20. Nbd2 Nxd6 21. Nc4 Nxc4 22. Bxc4 Nb6 23.
Ne5 Rae8 24. Bxf7+ Rxf7 25. Nxf7 Rxe1+ 26. Qxe1 Kxf7
27. Qe3 Qg5 28. Qxg5 hxg5 29. b3 Ke6 30. a3 Kd6 31.
axb4 cxb4 32. Ra5 Nd5 33. f3 Bc8 34. Kf2 Bf5 35. Ra7
g6 36. Ra6+ Kc5 37. Ke1 Nf4 38. g3 Nxh3 39. Kd2 Kb5
40. Rd6 Kc5 41. Ra6 Nf2 42. g4 Bd3 43. Re6 1/2-1/2



This message was originally posted at Yahoo's pente group.

andre

Posts: 30
Registered: Dec 16, 2001
From: Sao Paulo - Brazil
Age: 38
Home page
Sample of a game in proposed format
Posted: Aug 31, 2000, 11:02 PM

Proposed Format:

[Event Rated
Game]
[Site Pente.Org]
[Date 2000.01.20]
[White
Dweebo]
[Black andre]
[Result 1-0]

1. 0 U1 2. L4
L2U3 3. L2U2 L1U3 4. L3U3 L1U1 5. U3* L1 6. L3U1 L4U4*
7. L5D1 L6D2 8. L1U3 L2U2 9. L3U3* L2U2 10. L2U3
R1U2 11. R1U3 1-0



This message was originally posted at Yahoo's pente group.

dweebo

Posts: 1,032
Registered: Dec 16, 2001
From: Powell, OH
Age: 37
Home page
Re: Sample of a game in proposed format
Posted: Sep 1, 2000, 3:15 AM

I've already implemented this idea for version
3.
I spoke to mark about it and he assured me his
program would still be able to read in the files. his
program in only concerned with the move list, none of the
other information is displayed.

here is the last
game played on the test version as an
example.

[Event Unrated Game]
[Site Dweebo's Stone Games:
Pente @ Table 7]
[Date 2000.08.31]
[Round
-]
[White cstewart]
[Black mmaip1_1]
[Result
1-0]
[WhiteRating 1495]
[BlackRating 1523]
[WhiteType
human]
[BlackType program]
[Time 15:51:37]
[TimeControl
900]

1. K10 J9 2. N7 L9 3. K9 K8 4. J7 K11 5. M10 K8 6.
L7 K7 7. H10 K8 8. K10 L10 9.
K9 M9 10. N8 H13
11. J12 N10 12. L8 N6 13. J10 H11 14. F10 G10 15. F9
G10 16. K6
O11 17. K7 J6 18. K7 N9 19. N8 N11 20.
P11 P12 21. M11 1-0

i am skeptical about
getting iyt to implement this, maybe richards though. i
just wanted to add more information and i liked the
PGN format.

for those of you technically
savvy, i would really like to reformat it once again in
XML, but that might be overkill.

anyways, let
me know of any other tags you might
like.

-dweebo



This message was originally posted at Yahoo's pente group.

Pente Rocks!
mmammel

Posts: 260
Registered: Dec 16, 2001
From: Maryland
Age: 53
Home page
Re: File Format Proposal for Pente Games
Posted: Sep 1, 2000, 9:00 AM

Yes, that format looks good. I am making good
progress in my Windows program (but still have some more
to do). I could try to include that information to
view/edit and use that format for saving games. Maybe I'll
have a data file that includes all of the current tags
and I could simply update that file instead of the
whole program if we add tags.

M



This message was originally posted at Yahoo's pente group.

andre

Posts: 30
Registered: Dec 16, 2001
From: Sao Paulo - Brazil
Age: 38
Home page
Re: Sample of a game in proposed format
Posted: Sep 1, 2000, 7:23 PM

Great, Dweebo!!!

The XML idea is also
good. For database purposes it would be even
better.

The most important task is to define the standard and
make it avaiable to the general public. We could leave
a page at Dweebo's where we could make it avaiable
for general public.

After that we could
suggest it to other sites like IYT (I know its hard to
convince them) and computer programs developers.

If
you want I can write a prototype of a document
defining the format.

I would use Traditional
Notation instead of Alpha-Numeric. Just because, it is
Board Size Independent it could also be used by IYT in
its 13x13 board too.

Also we have to agree
about mandatory and non-mandatory tags. For example
WhiteType and BlackType could be assumed to be Human if
not specified.


André Velloso



This message was originally posted at Yahoo's pente group.

Replies: 5   Views: 34,742   Pages: 1  
Back to Topic List
Topics: [ Previous | Next ]


Powered by Jive Software