 			for x in [0..7]
 				new BlankPiece true
 
-		for y in [0..7]
-			for x in [0..7]
-				thisX = Math.abs (3 - x)
-				thisY = Math.abs (5 - y)
-				if (thisX == 1 && thisY == 2) || (thisY == 1 && thisX == 2)
-					@set(x,y,"p")
-		@set(3,5,"N")
+		@set(4,4,"n")
+		@set(3,2,"K")
+		@set(2,3,"k")
+		moves = @getMoves(4,4)
+		for xy in moves
+			@set(xy[0], xy[1], "p")
+
 
 	deibtest: ->
 		@board =

	blackSymbol: "\u265E"
	whiteSymbol: "\u2658"

class Bishop extends Piece
	name: "Bishop"
	value: 3

#myGame.set(1,3, "f")

#myGame.importFEN( "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1" )
#myGame.setup("classic")
#myGame.test()
myGame.test()
myGame.log()
#myGame.getMoves(4,4)
#console.log myGame.get(1,2)
#console.log myGame.get("a1")
#
