Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Would be practical if this module was merged with http://drupal.org/project/chessboard .
I would like to be able to enter chess situation exports from elsewhere and import them into this module to have the situation in the export rendered and placed on a chessboard which would then let me set two players and proceed with normal/single moves in the new chess game..
Comments
Comment #1
Leeteq CreditAttribution: Leeteq commentedComment #2
EoinBailey CreditAttribution: EoinBailey commentedThe ability to enter a specific start state is what you are after, right? I haven't used the chessboard module yet, but I did just check out the code.
It shouldn't be too hard to add in this ability. I can add a form that would allow the starting state to be specified by the game creator, and then the game would proceed as normal.
If this is not what you're after, let me know what is you want, but I like this idea anyway, so I'll probably add this in too regardless! I'll add it to the feature list.
Comment #3
Leeteq CreditAttribution: Leeteq commentedMany online chess servers allow to export the chess game at any stage during the game. That export is in a "international format", which several services can import. It is just a standard way of storing the moves in sequence up until the point where the export was taken. So by importing it, you will get just that situation in the game, and should be able to continue the game from there.
That is a great competence building and learning tool, in addition to allowing the players to pick especially interesting and exciting positions, which may raise the enthusiasm too. Whenever an interesting situation occurs, with several potentially good moves, one can do an export, then import it back after the game and explore the alternative routes too.
Comment #4
EoinBailey CreditAttribution: EoinBailey commentedThat is cool. Can you point me to the format, so I can follow it. It would be silly to start exporting in a different way, and it would be nice to be able to import from a number of different services.
Does the chessboard module follow the format? It does mention the 'FEN' syntax, and another syntax for importing. My knowledge of this side of chess is non-existent.
Comment #5
Leeteq CreditAttribution: Leeteq commentedSure, forgot to mention its name (PGN) in my previous post... Here is a description from Wikipedia:
http://en.wikipedia.org/wiki/Portable_Game_Notation
and see also this general description;
http://en.wikipedia.org/wiki/Chess_notation
Here is an example on how a PGN export looks like/what it contains, taken from www.redhatpawn.com:
PGN export: (I have made the numbers general, the number of digits are correct but may vary)
Comment #6
Leeteq CreditAttribution: Leeteq commentedFrom that second link:
Comment #7
EoinBailey CreditAttribution: EoinBailey commentedThanks for the info. I'll look into this.
Comment #8
Eric_A CreditAttribution: Eric_A commentedHi Tim, hi Eoin, hi all you chess lovers here,
I'm the new maintainer of Chessboard Renderer. I have a vision of Chess taking advantage of a Chessboard Renderer API.
Let's keep an eye on eachother's projects!
Comment #9
EoinBailey CreditAttribution: EoinBailey commentedSounds like a good idea.
I'm still (foolishly??) hopeful to have some more free time in the next few months and dive back into this.
Comment #10
Eric_A CreditAttribution: Eric_A commentedChessboard Renderer 6.x-1.0 will be released very, very soon! After 7.x-1.0 is done, you can count on me filling up the Chess issue queue ;-)
You´re all very welcome to contribute one way or the other. Reviewers please take a look here: http://drupal.org/project/issues/chessboard?text=&status=8&priorities=Al...
Cheers,
Eric
Comment #11
Leeteq CreditAttribution: Leeteq commentedRef. #1540506: Merge Chess and vChess modules? (with maintainership offer), where a discussion with the maintainer of the http://drupal.org/project/vchess module goes on.
I really think that a merge is interesting.
Could it be an idea if THIS module focused on providing flexibility for simple/small "block displays" and relied on vchess for the actual chess functionality?