-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNonogram.html
73 lines (68 loc) · 3.92 KB
/
Nonogram.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
<html>
<head>
<title> Nonogram </title>
<script type="text/javascript" src="Function.js"></script>
</head>
<body onload="Timer()">
<center>
<font face="Magneto" size="6">
<font color="LightBlue">N</font><font color="Pink">o</font><font color="LightBlue">n</font><font
color="Pink">o</font><font
color="LightBlue">g</font><font color="Pink">r</font><font color="LightBlue">a</font><font
color="Pink">m</font></font><br/> <br/>
<table border="5" style="background-color:white" width="84%">
<tr style="background-color:black">
<td align="center">
<table width="100%">
<tr>
<td colspan="2" align="center"><font color="white" size="4"><b>How To Play :</td>
</tr>
<tr></tr>
<tr>
<td width="43%"><font color="white"><b>
01. Fill out the width & height of the board and click submit. <br/>
02. There are 2 choices, <font color="Pink">"O"</font> and <font
color="LightBlue">"X"</font>.
<br/>
03. The goal of the game is to <font color="Pink">find the location of all "O"</font>. <br/>
04. Each <font color="Violet">horizontal number</font> shows the consecutive number of <font
color="Pink">"O"</font> in that row. <br/>
05. Each <font color="Turquoise">vertical number</font> shows the consecutive number of
<font
color="Pink">"O"</font> in that column. <br/>
06. Separated number means that there will be at least 1 cell that separate the <br/>
consecutive number of <font color="Pink">"O"</font> in that row/column. <br/>
07. Click <font color="Pink">"O"</font> button and click the cell in the board that you
think
is <font color="Pink">"O"</font>. <br/>
08. Click <font color="LightBlue">"X"</font> button and click the cell in the board if you
think
that is <font color="LightBlue">"X"</font>.</td>
<td width="41%"><font color="white"><b>
09. The minimum width * height of the board is 3 * 3. <br/>
10. The maximum width * height of the board is 26 * 26. <br/>
11. There are 2 kind of hints in the game. <br/>
12. <font color="Green">HintA</font> = User choose a cell in the board and the answer will
be shown. <br/>
13. The number of <font color="Green">HintA</font> that can be used is N = ((width + height)
div 6). <br/>
14. <font color="Purple">HintB</font> = The answer of 2 random cells that hasn't been chosen
will be shown. <br/>
15. <font color="Purple">HintB</font> can only be used if N is more than 4. <br/>
16. The number of <font color="Purple">HintB</font> that can be used is (N - 4). <br/>
17. There will be (N - 1) <font color="Orange">Wrong Chance(s)</font>.</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
<table>
<tr align="center" id="Anmt"></tr>
</table>
<br/>
Width : <input id="Wdth"/> Height : <input id="Hght"/>
<button id="Sbmt" onclick="Sbmt()"> Submit</button>
<div id="Opt"></div>
<div id="Tbl"></div>
</body>