Code Monkey home page Code Monkey logo

Comments (4)

mliebelt avatar mliebelt commented on May 29, 2024

Do you have a concrete PGN for that? The disambiguation is only necessary if there are more than one possible moves to the same square. See the specification http://www.saremba.de/chessgml/standards/pgn/pgn-complete.htm#c8.2.3 (correct section 8.2.3.4).

Please add an example PGN, then I will have a look at it.

from pgn-viewer.

LocutusOfPenguin avatar LocutusOfPenguin commented on May 29, 2024

its all on YOUR example webpage (in edit section). If i play d4,e5, dxe5, d6, exd6, Bxd6
i only get "xe5", "xd6" That looks buggy, and the FIDE approved dgt clocks also display "exd6", including "python-chess",.... and i would guess on chess books too.
So, its not about "disambiguation" instead about "captures"

from pgn-viewer.

mliebelt avatar mliebelt commented on May 29, 2024

Reread the specification, found there the following:

Capture moves are denoted by the lower case letter "x" immediately prior to the destination square; pawn captures include the file letter of the originating square of the capturing pawn immediately prior to the "x" character.

So you are right, I have to fix that. Will be in the next release (no big deal).

from pgn-viewer.

mliebelt avatar mliebelt commented on May 29, 2024

See the current release

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.