-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (71 loc) · 3.4 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
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title>number_shift_game</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="shortcut icon" href="/favicon.ico">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<!-- build:css styles/vendor.css -->
<!-- bower:css -->
<!-- endbower -->
<!-- endbuild -->
<!-- build:css(.tmp) styles/main.css -->
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="styles/style.css">
</head>
<body>
<!--[if lt IE 10]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div class="container" >
<div id="success-message">
</div>
<div class="well">
<form class="form-horizontal" role="form">
<div class="form-group">
<label for="inputEmail3" class="col-sm-2 control-label">Select Game Type</label>
<div class="col-sm-3">
<select id="game-type" class="form-control">
<option>Select</option>
<option value="3">3 X 3 Grid</option>
<option value="4">4 X 4 Grid</option>
<option value="5">5 X 5 Grid</option>
<option value="6">6 X 6 Grid</option>
<option value="7">7 X 7 Grid</option>
<option value="8">8 X 8 Grid</option>
</select>
</div>
<label for="inputEmail3" class="col-sm-2 control-label">Total Moves</label>
<div class="col-sm-5">
<p class="form-control-static" id="moves-counter">0</p>
</div>
</div>
</form>
</div>
<div class="well">
<details>
<summary>Rules.</summary>
<div>
<ol>
<li>The object of the game is to arrange all the number in ascending order. Starting to from top left to bottom right corner</li>
<li>The movement of cells is possible only though moving of the blank space.</li>
<li>You can switch the blank space with TOP RIGHT BOTTOM or LEFT element of the blank space.</li>
</ol>
</div>
</details>
</div>
<div id="game_container" class="well well-lg game-container"></div>
</div>
<script src="scripts/config.js"></script>
<script src="scripts/main.js"></script>
<script>
main.bootstrap();
//main.prepareGame(3);
</script>
</body>
</html>