     console.log("mouse click: "+x+","+y)
     hex = @grid_model.get_hex(x,y)
     console.log("A*,B* ~= "+hex[0]+","+hex[1])
+    @puzzle.piece.draw_piece_ab(hex[0],hex[1]) if not (hex[0] == 0)
+#    @piece.draw_piece_ab(a,b)
 
 
 

#    @puzzle_pattern.draw_pattern()
    @hex_draw.draw_all_hexes()

    @piece.construct_piece("p")

    a = Math.floor(1+24*Math.random())
    b = Math.floor(1+9*Math.random())
    @piece.draw_piece_ab(a,b)
    console.log("drawing piece at "+a+","+b)

#    @piece.draw_piece_ab(@piece.hex_box.anchor_hex[0],@piece.hex_box.anchor_hex[1])


    context.globalCompositeOperation = 'source-over'


  draw_piece_ab: (a,b) ->
    xy = @puzzle.hex_box.get_box_xy_ab(a,b)
    @draw_piece(xy[0],xy[1])

