I solved the Queen Attack problem in Clojure.
This is my solution:
I think that the can-attack function should be called can-attack?. I've kept its original name because it's being exercised from the tests given by Exercism.
You can nitpick the solution here and/or see all the exercises I've done so far in this repository.
No comments:
Post a Comment