-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
135 lines (135 loc) · 4.54 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>くじテンダー</title>
<link rel="stylesheet" href="style.css">
</head>
<body background="important_image.jpg">
<h1><img src="character_saboten.png">ミニくじテンダー<img src="plant_cactus.png"></h1>
<div id="score">
<p> 現在のポイント:<span id="point">0</span></p>
<p>合計ポイント: <span id="totalpoint">0</span></p>
</div>
<div>
<button id="line-button-8" onclick="roundplay()">2回目!</button>
</div>
<main>
<div class="row">
<div id="grid">
<button id="line-button-6" onmouseover="pointerin([0, 4, 8])" onmouseout="pointerout([0, 4, 8])" onclick="pointresult(6)">↘</button>
<button id="line-button-3" onmouseover="pointerin([0, 3, 6])" onmouseout="pointerout([0, 3, 6])" onclick="pointresult(3)">↓</button>
<button id="line-button-4" onmouseover="pointerin([1, 4, 7])" onmouseout="pointerout([1, 4, 7])" onclick="pointresult(4)">↓</button>
<button id="line-button-5" onmouseover="pointerin([2, 5, 8])" onmouseout="pointerout([2, 5, 8])" onclick="pointresult(5)">↓</button>
<button id="line-button-0" onmouseover="pointerin([0, 1, 2])" onmouseout="pointerout([0, 1, 2])" onclick="pointresult(0)">→</button>
<div class="cell" onclick="cellclick(0)"></div>
<div class="cell" onclick="cellclick(1)"></div>
<div class="cell" onclick="cellclick(2)"></div>
<button id="line-button-1" onmouseover="pointerin([3, 4, 5])" onmouseout="pointerout([3, 4, 5])" onclick="pointresult(1)">→</button>
<div class="cell" onclick="cellclick(3)"></div>
<div class="cell" onclick="cellclick(4)"></div>
<div class="cell" onclick="cellclick(5)"></div>
<button id="line-button-2" onmouseover="pointerin([6, 7, 8])" onmouseout="pointerout([6, 7, 8])" onclick="pointresult(2)">→</button>
<div class="cell" onclick="cellclick(6)"></div>
<div class="cell" onclick="cellclick(7)"></div>
<div class="cell" onclick="cellclick(8)"></div>
<button id="line-button-7" onmouseover="pointerin([6, 4, 2])" onmouseout="pointerout([6, 4, 2])" onclick="pointresult(7)">↗</button>
</div>
<div class="scorebord1">
<table>
<tr>
<th>数字の合計</th>
<th>獲得ポイント</th>
</tr>
<tr id="s6">
<td>6</td>
<td scope="gil">10000</td>
</tr>
<tr id="s7">
<td>7</td>
<td scope="gil">36</td>
</tr>
<tr id="s8">
<td>8</td>
<td scope="gil">72</td>
</tr>
<tr id="s9">
<td>9</td>
<td scope="gil">360</td>
</tr>
<tr id="s10">
<td>10</td>
<td scope="gil">80</td>
</tr>
<tr id="s11">
<td>11</td>
<td scope="gil">252</td>
</tr>
<tr id="s12">
<td>12</td>
<td scope="gil">108</td>
</tr>
<tr id="s13">
<td>13</td>
<td scope="gil">72</td>
</tr>
<tr id="s14">
<td>14</td>
<td scope="gil">54</td>
</tr>
<tr id="s15">
<td>15</td>
<td scope="gil">180</td>
</tr>
</table>
</div>
<div class="scorebord2">
<table>
<tr>
<th>数字の合計</th>
<th>獲得ポイント</th>
</tr>
<tr id="s16">
<td>16</td>
<td scope="gil">72</td>
</tr>
<tr id="s17">
<td>17</td>
<td scope="gil">180</td>
</tr>
<tr id="s18">
<td>18</td>
<td scope="gil">119</td>
</tr>
<tr id="s19">
<td>19</td>
<td scope="gil">36</td>
</tr>
<tr id="s20">
<td>20</td>
<td scope="gil">306</td>
</tr>
<tr id="s21">
<td>21</td>
<td scope="gil">1080</td>
</tr>
<tr id="s22">
<td>22</td>
<td scope="gil">144</td>
</tr>
<tr id="s23">
<td>23</td>
<td scope="gil">1800</td>
</tr>
<tr id="s24">
<td>24</td>
<td scope="gil">3600</td>
</tr>
</table>
</div>
</div>
</div>
</main>
<script src="main.js"></script>
</body>
</html>