-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (35 loc) · 1.55 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>MineSweeper | DiamondDev</title>
<meta name="description" content="">
<meta name="author" content="Alexandre Kilian">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="/vendor/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="SHORTCUT ICON" href="/favicon.ico">
</head>
<body>
<div id="wrapper" ng-controller="sweeperCtrl">
<h1>DiamondSweeper</h1>
<div class="menu">
<select ng-model="difficulty" class="">
<option value="1">Easy</option>
<option value="2">Medium</option>
<option value="3">Hard</option>
</select>
<button class="btn-start" ng-click="startGame()">Start Game</button>
</div>
<div class="field" ng-repeat="field in fields" ng-click="selectField($index)" ng-right-click="markField($index)" ng-class="{marked:field.marked, mine : (field.mine&&field.visible), visible: field.visible}">
{{field.mines}}
</div>
</div>
<script src="/vendor/requirejs/require.js" data-main="js/main.js"></script>
</body>
</html>