-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (56 loc) · 2.75 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
<!DOCTYPE html>
<html lang="en" ng-app='hackathonApp'>
<head>
<meta charset="utf-8">
<title>wdi 10 memory game</title>
<script text="text/javascript" src="js/angular.js"></script>
<script type="text/javascript" src="js/angular-animate.js"></script>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="js/main.js"></script>
<!-- external CSS link -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/animations.css">
<link rel="stylesheet" href="css/style.css">
<link href='http://fonts.googleapis.com/css?family=Noto+Sans' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Special+Elite' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="container" ng-controller="HackathonController">
<div ng-hide="hide" id="landing">
<div class="logo_bounce" id="logo_section" ng-click="hide=true" ng-init="hide=false">
<img src="https://s3-eu-west-1.amazonaws.com/wdi10hackymemory/images/ga.png" width=150 heigh=150 class="slideDown" alt="GA Logo">
</div>
<p>Do you wanna play? Yeah? Click me!</p>
<h3 class="slideRight">WDI 10 - London</h2>
<h1 class="bigEntrance">HACKY MEMORY</h1>
<h3 class="slideLeft">the one and only wdi 10 card game</h3>
</div>
<div ng-show="hide && !play" id="instructions">
<div id="instructions_container">
<h3>Hi Guys, we have great news!<br>Our Hacky Memory game is probably the most fun you'll ever have on WDI!<br> Test yourself on how well you know the group by matching people with their phrases. </br>Lets get started!</br>
</h3>
<br>
<button type="button" id="button_launch" ng-click="play=true" ng-init="play=false">Play</button>
<br>
</div>
</div>
<div id="game" ng-show="hide && play" >
<h2 id="gameOver">Congratulations! You've matched all cards in <span id="number-of-moves"></span> moves</h2>
<div id="game-cards" class="clearfix">
<h3>Number of clicks {{ clickCount }}</h3>
<div class="card" ng-repeat='student in students' ng-click='selectCard(student)' ng-class="{selected: isSelected(student), expandOpen: isSelected(student) }">
<!-- <div ng-show="selectCard"> -->
<img src="https://s3-eu-west-1.amazonaws.com/wdi10hackymemory/images/GA-WDI10-Card.png" ng-hide="first == student || second == student || isMatched(student)">
<img ng-src="{{ student.image || student.phrase }}" alt="" ng-show="first == student || second == student || isMatched(student)">
</div>
</div>
</div>
</div>
<br>
<a href="documentation.html" title="Making of" class="log-link">Behind the hacky scenes</a></li>
<footer>
© General Assembly wdi 10
</footer>
</body>
</html>