You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@cmccandless This exercise had been implemented before canonical data came out. As for updating to canonical data, here are three questions worth discussing:
Should we change function board to create? If so, what is its new signature?
How should we deal with those tests beyond canonical set, such as checking for two pieces being placed on the same position?
Should we still keep tests of graphical representation of chess board?
How should we deal with those tests beyond canonical set, such as checking for two pieces being placed on the same position?
These can be checked within can_attack.
Should we still keep tests of graphical representation of chess board?
I think generation of the graphical representation is a) trivial and b) outside the scope of this exercise, but I'm open to debate on those points. @M-a-Ge , @N-Parsons , you guys have an opinion on this?
Activity
mrcfps commentedon Feb 17, 2018
@cmccandless This exercise had been implemented before canonical data came out. As for updating to canonical data, here are three questions worth discussing:
boardtocreate? If so, what is its new signature?cmccandless commentedon Feb 19, 2018
This is how I understand the spec:
These can be checked within
can_attack.I think generation of the graphical representation is a) trivial and b) outside the scope of this exercise, but I'm open to debate on those points. @M-a-Ge , @N-Parsons , you guys have an opinion on this?
mrcfps commentedon Feb 22, 2018
From my perspective, if we leave
create(x, y)in the stub, the answer would be quite obvious:I don't think there is any point of doing this. So instead I suggest a stub like this:
It looks pretty easy, so I guess we should move this exercise forward in config.json.
cmccandless commentedon Feb 22, 2018
In preparation for the next version of Exercism (known as "nextercism" for now), we are working to categorize and reorganize exercises into a more natural progression. So for now, we'll just leave this exercise where it is in the track.