質問編集履歴
2
問題点を太字にした
test
CHANGED
File without changes
|
test
CHANGED
@@ -52,7 +52,7 @@
|
|
52
52
|
|
53
53
|
road_map[x][y]=0
|
54
54
|
|
55
|
-
road_map[2][3]=2
|
55
|
+
**road_map[2][3]=2**
|
56
56
|
|
57
57
|
road_map[board_x-3][board_y-4]=3
|
58
58
|
|
1
改行した
test
CHANGED
File without changes
|
test
CHANGED
@@ -5,6 +5,8 @@
|
|
5
5
|
road_w=0
|
6
6
|
|
7
7
|
road_map=[]
|
8
|
+
|
9
|
+
|
8
10
|
|
9
11
|
def setup():
|
10
12
|
|
@@ -14,9 +16,13 @@
|
|
14
16
|
|
15
17
|
init_maze()
|
16
18
|
|
19
|
+
|
20
|
+
|
17
21
|
def draw():
|
18
22
|
|
19
23
|
draw_maze()
|
24
|
+
|
25
|
+
|
20
26
|
|
21
27
|
def make_board(x,y,w):
|
22
28
|
|
@@ -29,6 +35,8 @@
|
|
29
35
|
road_w=w
|
30
36
|
|
31
37
|
road_map=[[0]*board_y]*board_x
|
38
|
+
|
39
|
+
|
32
40
|
|
33
41
|
def init_maze():
|
34
42
|
|