Closed ddugovic closed 8 years ago
I guess I intended the current name to reduce ambiguity by not shortening it to a single letter. I take it that for your case it would be non-trivial to simply rename the returned attribute to r
? Nevertheless I think I'm open to this change if it is desired; no harm done so long as I bump the major version.
btw, love your work on adding variants to stockfish :)
Ah, you are correct, I figured out how in JavaScript to map the returned attributes.
And thanks, I'm glad others have helped me with that effort.
I'm developing a chess server; however, my
player.rating
object has attributes(r, rd, vol)
rather than(rating, rd, vol)
. It would reduce potential ambiguity if this library followed Glickman's naming convention by returningr
rather thanrating
.