-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
120 lines (91 loc) · 3.21 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
<!DOCTYPE html>
<html>
<head>
<title>12-STONES</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<script type="text/javascript" src="js/fun.js"></script>
<div class="welcome">
<h1>Welcome to the Game of Stones</h1>
<br>
<button id="btn" onclick="display()">Start the Game</button>
</div>
<div class="text">
<h3>Commentry Box</h3>
<div class="c-box">
<p id="text_box"> play on</p>
</div>
<br>
</div>
<!-- board -->
<div class="board">
<table class="board_table" cellspacing="2px">
<div class="player-btn">
<button id="player1-active" onclick="">Palyer 1</button>
<button id="player2" onclick="">Player 2</button>
</div>
<tr class="r1">
<td class="c1" id="11" onclick="return_id(1,1)">
</td>
<td class="c2" id="12" onclick="return_id(1,2)">
</td>
<td class="c3" id="13" onclick="return_id(1,3)">
</td>
<td class="c4" id="14" onclick="return_id(1,4)">
</td>
<td class="c5" id="15" onclick="return_id(1,5)">
</td>
</tr>
<tr class="r2">
<td class="c1" id="21" onclick="return_id(2,1)">
</td>
<td class="c2" id="22" onclick="return_id(2,2)">
</td>
<td class="c3" id="23" onclick="return_id(2,3)">
</td>
<td class="c4" id="24" onclick="return_id(2,4)">
</td>
<td class="c5" id="25" onclick="return_id(2,5)">
</td>
</tr>
<tr class="r3">
<td class="c1" id="31" onclick="return_id(3,1)">
</td>
<td class="c2" id="32" onclick="return_id(3,2)">
</td>
<td class="c3" id="33" onclick="return_id(3,3)">
</td>
<td class="c4" id="34" onclick="return_id(3,4)">
</td>
<td class="c5" id="35" onclick="return_id(3,5)">
</td>
</tr>
<tr class="r4">
<td class="c1" id="41" onclick="return_id(4,1)">
</td>
<td class="c2" id="42" onclick="return_id(4,2)">
</td>
<td class="c3" id="43" onclick="return_id(4,3)">
</td>
<td class="c4" id="44" onclick="return_id(4,4)">
</td>
<td class="c5" id="45" onclick="return_id(4,5)">
</td>
</tr>
<tr class="r5">
<td class="c1" id="51" onclick="return_id(5,1)">
</td>
<td class="c2" id="52" onclick="return_id(5,2)">
</td>
<td class="c3" id="53" onclick="return_id(5,3)">
</td>
<td class="c4" id="54" onclick="return_id(5,4)">
</td>
<td class="c5" id="55" onclick="return_id(5,5)">
</td>
</tr>
</table>
</div>
</body>
</html>