Files

943 lines
16 KiB
JSON

{
"mode": "gates",
"title": "路径开门",
"rule": "每格一次。门初始关闭,走到编号对应的开关后永久打开;撤销会恢复门的状态。",
"levels": [
{
"id": "01",
"mode": "gates",
"geometry": "square",
"difficulty": "入门",
"title": "先踩开关再过门",
"caption": "每格一次。门初始关闭,走到编号对应的开关后永久打开;撤销会恢复门的状态。",
"cells": [
{
"id": "c0",
"x": 0,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c1",
"x": 1,
"y": 0,
"w": 1,
"h": 1,
"clue": 1
},
{
"id": "c2",
"x": 2,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c3",
"x": 0,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c4",
"x": 1,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c5",
"x": 2,
"y": 1,
"w": 1,
"h": 1
}
],
"gates": [
{
"edge": [
"c4",
"c5"
],
"switchCell": "c0"
}
]
},
{
"id": "02",
"mode": "gates",
"geometry": "square",
"difficulty": "入门",
"title": "绕行到开关",
"caption": "每格一次。门初始关闭,走到编号对应的开关后永久打开;撤销会恢复门的状态。",
"cells": [
{
"id": "c0",
"x": 0,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c1",
"x": 1,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c2",
"x": 2,
"y": 0,
"w": 1,
"h": 1,
"clue": 1
},
{
"id": "c3",
"x": 0,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c4",
"x": 1,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c5",
"x": 2,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c6",
"x": 0,
"y": 2,
"w": 1,
"h": 1,
"clue": 5
},
{
"id": "c7",
"x": 1,
"y": 2,
"w": 1,
"h": 1
}
],
"gates": [
{
"edge": [
"c7",
"c4"
],
"switchCell": "c0"
}
]
},
{
"id": "03",
"mode": "gates",
"geometry": "square",
"difficulty": "普通",
"title": "开门后不能立刻穿过去",
"caption": "",
"cells": [
{
"id": "c0",
"x": 0,
"y": 0,
"w": 1,
"h": 1,
"clue": 1
},
{
"id": "c1",
"x": 1,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c2",
"x": 2,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c3",
"x": 3,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c4",
"x": 0,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c5",
"x": 1,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c6",
"x": 2,
"y": 1,
"w": 1,
"h": 1,
"clue": 6
},
{
"id": "c7",
"x": 3,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c8",
"x": 1,
"y": 2,
"w": 1,
"h": 1
},
{
"id": "c9",
"x": 2,
"y": 2,
"w": 1,
"h": 1
}
],
"gates": [
{
"edge": [
"c6",
"c9"
],
"switchCell": "c3"
}
]
},
{
"id": "04",
"mode": "gates",
"geometry": "square",
"difficulty": "普通",
"title": "两对独立门与开关",
"caption": "",
"cells": [
{
"id": "c0",
"x": 0,
"y": 0,
"w": 1,
"h": 1,
"clue": 1
},
{
"id": "c1",
"x": 1,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c2",
"x": 2,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c3",
"x": 3,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c4",
"x": 0,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c5",
"x": 1,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c6",
"x": 2,
"y": 1,
"w": 1,
"h": 1,
"clue": 8
},
{
"id": "c7",
"x": 3,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c8",
"x": 0,
"y": 2,
"w": 1,
"h": 1
},
{
"id": "c9",
"x": 1,
"y": 2,
"w": 1,
"h": 1
},
{
"id": "c10",
"x": 2,
"y": 2,
"w": 1,
"h": 1
},
{
"id": "c11",
"x": 3,
"y": 2,
"w": 1,
"h": 1
}
],
"gates": [
{
"edge": [
"c8",
"c9"
],
"switchCell": "c1"
},
{
"edge": [
"c2",
"c3"
],
"switchCell": "c4"
}
]
},
{
"id": "05",
"mode": "gates",
"geometry": "square",
"difficulty": "进阶",
"title": "第一门后才能到第二开关",
"caption": "",
"cells": [
{
"id": "c0",
"x": 0,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c1",
"x": 1,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c2",
"x": 2,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c3",
"x": 3,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c4",
"x": 0,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c5",
"x": 1,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c6",
"x": 2,
"y": 1,
"w": 1,
"h": 1,
"clue": 1
},
{
"id": "c7",
"x": 3,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c8",
"x": 0,
"y": 2,
"w": 1,
"h": 1
},
{
"id": "c9",
"x": 1,
"y": 2,
"w": 1,
"h": 1
},
{
"id": "c10",
"x": 2,
"y": 2,
"w": 1,
"h": 1
},
{
"id": "c11",
"x": 3,
"y": 2,
"w": 1,
"h": 1
},
{
"id": "c12",
"x": 1,
"y": 3,
"w": 1,
"h": 1
},
{
"id": "c13",
"x": 2,
"y": 3,
"w": 1,
"h": 1
}
],
"gates": [
{
"edge": [
"c4",
"c0"
],
"switchCell": "c9"
},
{
"edge": [
"c7",
"c11"
],
"switchCell": "c0"
}
]
},
{
"id": "06",
"mode": "gates",
"geometry": "square",
"difficulty": "进阶",
"title": "开关顺序与区域收尾",
"caption": "",
"cells": [
{
"id": "c0",
"x": 0,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c1",
"x": 1,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c2",
"x": 2,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c3",
"x": 3,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c4",
"x": 0,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c5",
"x": 1,
"y": 1,
"w": 1,
"h": 1,
"clue": 1
},
{
"id": "c6",
"x": 2,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c7",
"x": 3,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c8",
"x": 0,
"y": 2,
"w": 1,
"h": 1
},
{
"id": "c9",
"x": 1,
"y": 2,
"w": 1,
"h": 1
},
{
"id": "c10",
"x": 2,
"y": 2,
"w": 1,
"h": 1,
"clue": 15
},
{
"id": "c11",
"x": 3,
"y": 2,
"w": 1,
"h": 1
},
{
"id": "c12",
"x": 0,
"y": 3,
"w": 1,
"h": 1
},
{
"id": "c13",
"x": 1,
"y": 3,
"w": 1,
"h": 1
},
{
"id": "c14",
"x": 2,
"y": 3,
"w": 1,
"h": 1
},
{
"id": "c15",
"x": 3,
"y": 3,
"w": 1,
"h": 1
}
],
"gates": [
{
"edge": [
"c12",
"c13"
],
"switchCell": "c8"
},
{
"edge": [
"c3",
"c2"
],
"switchCell": "c13"
}
]
},
{
"id": "07",
"mode": "gates",
"geometry": "square",
"difficulty": "难",
"title": "三对门形成依赖链",
"caption": "",
"cells": [
{
"id": "c0",
"x": 0,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c1",
"x": 1,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c2",
"x": 2,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c3",
"x": 3,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c4",
"x": 0,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c5",
"x": 1,
"y": 1,
"w": 1,
"h": 1,
"clue": 1
},
{
"id": "c6",
"x": 2,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c7",
"x": 3,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c8",
"x": 0,
"y": 2,
"w": 1,
"h": 1
},
{
"id": "c9",
"x": 1,
"y": 2,
"w": 1,
"h": 1
},
{
"id": "c10",
"x": 2,
"y": 2,
"w": 1,
"h": 1
},
{
"id": "c11",
"x": 3,
"y": 2,
"w": 1,
"h": 1
},
{
"id": "c12",
"x": 0,
"y": 3,
"w": 1,
"h": 1
},
{
"id": "c13",
"x": 1,
"y": 3,
"w": 1,
"h": 1,
"clue": 11
},
{
"id": "c14",
"x": 2,
"y": 3,
"w": 1,
"h": 1
},
{
"id": "c15",
"x": 3,
"y": 3,
"w": 1,
"h": 1
},
{
"id": "c16",
"x": 1,
"y": 4,
"w": 1,
"h": 1
},
{
"id": "c17",
"x": 2,
"y": 4,
"w": 1,
"h": 1
}
],
"gates": [
{
"edge": [
"c2",
"c1"
],
"switchCell": "c7"
},
{
"edge": [
"c12",
"c13"
],
"switchCell": "c8"
},
{
"edge": [
"c11",
"c15"
],
"switchCell": "c9"
}
]
},
{
"id": "08",
"mode": "gates",
"geometry": "square",
"difficulty": "难",
"title": "两条开门依赖交织",
"caption": "",
"cells": [
{
"id": "c0",
"x": 0,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c1",
"x": 1,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c2",
"x": 2,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c3",
"x": 3,
"y": 0,
"w": 1,
"h": 1
},
{
"id": "c4",
"x": 0,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c5",
"x": 1,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c6",
"x": 2,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c7",
"x": 3,
"y": 1,
"w": 1,
"h": 1
},
{
"id": "c8",
"x": 0,
"y": 2,
"w": 1,
"h": 1,
"clue": 13
},
{
"id": "c9",
"x": 1,
"y": 2,
"w": 1,
"h": 1
},
{
"id": "c10",
"x": 2,
"y": 2,
"w": 1,
"h": 1
},
{
"id": "c11",
"x": 3,
"y": 2,
"w": 1,
"h": 1,
"clue": 4
},
{
"id": "c12",
"x": 0,
"y": 3,
"w": 1,
"h": 1
},
{
"id": "c13",
"x": 1,
"y": 3,
"w": 1,
"h": 1
},
{
"id": "c14",
"x": 2,
"y": 3,
"w": 1,
"h": 1
},
{
"id": "c15",
"x": 3,
"y": 3,
"w": 1,
"h": 1
},
{
"id": "c16",
"x": 0,
"y": 4,
"w": 1,
"h": 1
},
{
"id": "c17",
"x": 1,
"y": 4,
"w": 1,
"h": 1
},
{
"id": "c18",
"x": 2,
"y": 4,
"w": 1,
"h": 1
}
],
"gates": [
{
"edge": [
"c15",
"c14"
],
"switchCell": "c7"
},
{
"edge": [
"c12",
"c13"
],
"switchCell": "c18"
},
{
"edge": [
"c0",
"c1"
],
"switchCell": "c14"
}
]
}
]
}