niklasf / chessops

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

Documentation of Nag as typed Numbers #186

Open eguneys opened 3 months ago

eguneys commented 3 months 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 3 months 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