 
 
   draw_pattern: () -> # [(temp) - test/diagnostic method]
+    @hex_draw.set_context("canvas")
     n = 0
     for row in [1..10]
       for col in [1..24]

    @dstring = @canvas.getAttribute("data-puzzle-pattern")

    @grid = @get_pattern_grid(@dstring)


  get_pattern_grid: (data_string) ->

          when "d","l","p" then hue = 4
          when "h","j" then hue = 5
          when "x" then hue = 6
        @hex_draw.fill_hex_ab(col,row,hue) unless (row==10 && col%2==1)



