Created
April 22, 2012 19:08
-
-
Save mistercam/2466224 to your computer and use it in GitHub Desktop.
Reversi game board initialization form
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 initialize-board [] | |
"Creates a new reversi game board" | |
[[nil nil nil nil nil nil nil nil] | |
[nil nil nil nil nil nil nil nil] | |
[nil nil nil nil nil nil nil nil] | |
[nil nil nil :w :b nil nil nil] | |
[nil nil nil :b :w nil nil nil] | |
[nil nil nil nil nil nil nil nil] | |
[nil nil nil nil nil nil nil nil] | |
[nil nil nil nil nil nil nil nil]]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment