Giter Site home page Giter Site logo

Access to functionlity about pgn-viewer HOT 2 CLOSED

mliebelt avatar mliebelt commented on September 4, 2024
Access to functionlity

from pgn-viewer.

Comments (2)

mliebelt avatar mliebelt commented on September 4, 2024

Thanks for your post! I have worked on if for the last 6 months, and I am nearly finished with what I wanted to reach. It would be great if you can be my first "user", which means you would try to use and integrate it into your application. As you may have noticed, my main goal was to allow to display PGN in different formats, and to allow to integrate it into web sites. The final goal (for me) is to include it in our WordPress chess club site as the only plugin for displaying chess games.

I have not modified chess.js or chessboard.js in any way, I have just included the libraries in their current versions. I have tried to build the different parts of my application in different files:

  • pgn-parser.js: Built with the help of peg-0.8.0.js. See the corresponding web site. pgn-rules.peg is the rule file for the parser. This is the base block to read pgn notation.
  • pgn.js: Reads and writes PGN, uses the parser (and chess.js) for it. No need for a UI, no usage of chessboard.js. The main function is pgnReader.
  • pgnviewerjs.js: Base functions for the viewer. See the examples (4 modes) at the bottom of the file to use pgnBase.

What do you want to do in your application? If you have a more specific description, or even some things that are missing in my implementation, I could perhaps provide some guidance or even add it to my implementation.

Bye
mliebelt

from pgn-viewer.

kleelof avatar kleelof commented on September 4, 2024

Hello,

Can you contact me on Chess.com. I don't really want to go into details about my project here.

lee

(kleelof on c.c)

from pgn-viewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.