Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Added] Spare piece counts functionality #128

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

[Added] Spare piece counts functionality #128

wants to merge 3 commits into from

Conversation

sanjaynishad
Copy link

@sanjaynishad sanjaynishad commented Jul 14, 2016

I have added a Config property spareCounts.
spareCounts will accept a string "default" or a valid JSON object.
e.g.
var cfg = { spareCounts: 'default' }
or
var cfg = { spareCounts: { 'wK':0, 'wQ':0, 'wR':0, 'wB':0, 'wN':2, 'wP':1, 'bK':0, 'bQ':0, 'bR':0, 'bB':0, 'bN':0, 'bP':0 } }

Updated: see the image http://www.sanjaynishad.com/files/02f0b9f6-356a-4442-b797-29908674e250.png

@sanjaynishad
Copy link
Author

hey @oakmac
may I know, why this PR isn't merged yet?

@oakmac
Copy link
Owner

oakmac commented May 25, 2017

The honest answer is that I haven't looked at it in depth.

I'm not sure how this functionality would effect the API.

@sanjaynishad
Copy link
Author

okay, when are you going to look in depth? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants