Created
June 28, 2016 22:46
-
-
Save mh120888/a9b1f0ed9be6b788e3864fb87d02d87f to your computer and use it in GitHub Desktop.
single responsibility clojure function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn get-starting-marker | |
[human-marker human-goes-first] | |
(if human-goes-first | |
human-marker | |
(board/get-other-marker human-marker))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment