# Copyright 2010 Hakan Kjellerstrand hakank@bonetmail.com
#
# Licensed under the Apache License, Version 2.0 (the 'License'); 
# you may not use this file except in compliance with the License. 
# You may obtain a copy of the License at 
#
#     http://www.apache.org/licenses/LICENSE-2.0 
#
# Unless required by applicable law or agreed to in writing, software 
# distributed under the License is distributed on an 'AS IS' BASIS, 
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
# See the License for the specific language governing permissions and 
# limitations under the License. 
#
# Gondola 
# From http://www.conceptispuzzles.com
#
rows = 30
row_rule_len = 8
row_rules = [
    [0,0,0,0,0,0,5,6],
    [0,0,0,0,6,1,1,1],
    [0,0,0,0,0,3,11,3],
    [0,0,6,1,1,1,1,1],
    [0,7,1,1,1,2,1,3],

    [0,0,4,1,1,2,1,4],
    [0,7,1,1,1,2,3,1],
    [0,0,7,1,1,3,1,1],
    [0,0,4,1,1,1,1,9],
    [0,0,0,0,4,8,1,1],

    [0,0,0,4,1,4,1,3],
    [0,0,0,4,1,7,1,5],
    [4,1,1,2,1,4,1,1],
    [0,0,0,4,9,2,1,2],
    [0,0,4,1,3,1,2,1],

    [0,0,4,1,6,1,1,1],
    [0,0,0,0,4,8,3,1],
    [0,0,0,0,10,3,5,3],
    [0,0,4,1,2,3,5,2],
    [0,0,0,0,3,5,2,8],

    [0,0,0,2,6,3,1,1],
    [0,0,0,0,0,1,12,1],
    [0,0,0,0,0,20,1,1],
    [0,0,0,0,0,0,2,25],
    [0,0,0,0,0,2,3,20],
    
    [2,5,3,2,2,2,2,1],
    [0,0,0,0,0,1,2,22],
    [0,0,0,0,0,0,0,20],
    [0,0,0,0,0,0,3,18],
    [0,0,0,0,0,0,1,2]
    ]

cols = 30
col_rule_len = 8
col_rules = [
    [0,0,2,2,2,1,2,1],
    [0,0,0,2,2,2,1,2],
    [0,0,0,2,2,2,3,1],
    [0,0,0,0,0,18,2,1],
    [0,0,0,0,0,23,1,1],

    [0,0,0,0,0,20,2,1],
    [0,0,0,0,0,0,16,4],
    [0,0,0,0,0,0,2,6],
    [0,0,0,0,0,1,7,8],
    [0,0,3,1,1,8,2,1],
    
    [0,0,0,1,1,7,9,1],
    [0,0,0,0,7,1,1,15],
    [0,0,1,1,3,1,12,3],
    [0,1,1,1,1,3,2,8],
    [0,1,1,1,2,3,4,8],
    
    [0,1,1,1,1,3,1,14],
    [0,0,0,0,7,6,8,3],
    [0,0,0,0,0,1,4,9],
    [0,0,0,1,2,1,1,7],
    [0,0,0,0,5,1,3,3],
    
    [0,0,0,0,0,2,1,6],
    [0,0,0,0,0,5,2,6],
    [0,0,0,0,1,4,2,3],
    [0,0,0,0,0,1,7,8],
    [0,0,0,0,7,4,5,6],
    
    [2,1,1,1,2,3,3,3],
    [0,0,0,7,2,1,1,6],
    [0,1,1,2,1,1,1,6],
    [0,2,1,1,1,3,2,3],
    [0,0,0,0,1,1,9,6]
    ]

