Created
February 10, 2012 15:59
-
-
Save dungpa/1790471 to your computer and use it in GitHub Desktop.
Declaration of the chessboard
This file contains hidden or 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
type Board(initialSize: int) = | |
let size = initialSize | |
let mutable col = 0 | |
let rows = Array.create size false | |
let fwDiagonals = Array.create (2*size-1) false | |
let bwDiagonals = Array.create (2*size-1) false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment