 #console.log xyToan 1, 8
 
 myBoard = new Board
-myBoard.set("a2", new Knight true)
-myBoard.set(1,1, new Knight false)
+#myBoard.set("a2", new Knight true)
+#myBoard.set(1,1, new Knight false)
+#myBoard.set(1,3, "f")
 
+#myBoard.importFEN( "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1" )
+myBoard.setup("classic")
 myBoard.log()
 
 #console.log myBoard.get(1,2)

		for piece in vis
			console.log piece.join(' ')





# some tests


		return board[x][y]

	# fills an 8x8 board array
	visual: ->
		for y in [0..7]
			for x in [0..7]
				@get(x,y).symbol

	# draw the board to the console
