:: Personal website of a Toronto web designer
Lately » Flash and PGN
I want to brush up my Flash skills and thought about a little (or possibly big) project I'd like to do. Most of you know that I like to play chess. Chess games are written in PGN (Portable Game Notation) format, which is a standard, designed for the representation of chess game data using ASCII text files. What I would like to do is to use Flash (and PHP if needed) to parse PGN files in a nice way. I didn't use Flash lately, at least not at this level, so that I am not even sure if this is possible. I wasn't able to find an open source solution out there. If somebody knows about it, please let me know, I don't want to reinvent the wheel.
:: Sasha, at 09:19 pm on Sunday, 25. January 2004
You can try to use SVG instead of Flash. Someone has already done this a couple of years ago to make animations of chess games. I've been using SVG since before the W3C Recommendation and it's quite useful. The data flow goes: PGN --[some converter]--> ChessGML --[XSLT]--> an animated graphic representation of the PGN chess game. (SVG + ECMAScript)
The link is at:
http://people.w3.org/maxf/ChessGML/
Have fun! Dave
:: Dave, at 11:05 am on Wednesday, 28. January 2004
This is nice. I remember seeing it somewhere a while ago. It is a good start, but I would love to have more interactivity, such as paging through the moves, pausing, . . .
:: Sasha, at 11:02 pm on Wednesday, 28. January 2004
I suppose you could always improve on the existing stylesheet transform by adding a control panel to the SVG output and scripts to control the action.
:: Dave, at 02:28 am on Tuesday, 03. February 2004
Useless scrawling facts:
Top 5 scrawlers:
(updated once a day)
556 Sasha
488 zoka
316 vitez-koja
235 Davor
58 mungos

