jhlywa / chess.js

A TypeScript chess library for chess move generation/validation, piece placement/movement, and check/checkmate/draw detection
BSD 2-Clause "Simplified" License
3.59k stars 878 forks source link

TODO: camelCase API #104

Open albertkawmi opened 8 years ago

albertkawmi commented 8 years ago

Hey, if you're accepting PRs I'd be happy to help with this. I would tackle it as follows:

* This means tests would only use the new camelCase API, hence deprecating the snake_case API. I looked at your tests and considered duplicating the test code but it would be messy and just mean more tests to maintain. What do you think?

If you're happy with the above then I'll go ahead with the refactoring.

Cheers, Albert

LandonSchropp commented 3 years ago

I'd love to see this personally.