niklasf / chessops

Chess and chess variant rules and operations in TypeScript
https://niklasf.github.io/chessops/
GNU General Public License v3.0
106 stars 34 forks source link

Documentation of Nag as typed Numbers #186

Open eguneys opened 1 month ago

eguneys commented 1 month ago

Is there a documentation what nag numbers mean, are they just arbitrary. Looking at the source code ! is 1 and ? is 2 that's all I need.

niklasf commented 1 month ago

There are more standardized values that do not (yet) have corresponding constants in chessops: http://www.saremba.de/chessgml/standards/pgn/pgn-complete.htm#c10