-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (65 loc) · 2.89 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
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="normalize.min.css">
<link rel="stylesheet" href="style.css">
<script src="modernizr.min.js"></script>
<script src="jquery.min.js"></script>
<script src="jsrender.min.js"></script>
<script src="main.js"></script>
</head>
<body>
<div id='score'>Score: <span id='score-disp'>0</span><span class='faded'> + <span id='increment-disp'>1</span></span></div>
<div id='wrapper'>
<div id='equation'>
<div id='lhs' class='eq'>t' = t</div>
<div class='eq' id='coeff-0'>+
<span id='coeff-0-disp' class='coeff' data-value=0>1</span>
<div class='popout' id='popout-0-disp'>10</div>
</div>
<div class='eq spacer' id='rhs'></div>
<div class='floatstop'></div>
</div>
</div>
<div id='achievements'>
<h1>Achievements</h1>
<div id='ach-count' class='row'></div>
<div id='ach-upgrade' class='row'></div>
</div>
<div id='footer'>
Exponent is a game by <a href='http://tommedley.com'>Tom Medley</a>. You can get the source <a href='https://github.com/fredley/exponent'>on github</a>.
</div>
<button id='reset'>Reset</button>
<script id="ach_upgrade_tmpl" type="text/x-jsrender">
<div class='achievement' id='upgrade-{^{:count}}'>
{^{:roman}}
<div class='tip'>Bought {^{:comma}} upgrades</div>
</div>
</script>
<script id="ach_count_tmpl" type="text/x-jsrender">
<div class='achievement'>
{^{:roman}}
<div class='tip'>Got a score over {^{:comma}}</div>
</div>
</script>
<script id="coeff_tmpl" type="text/x-jsrender">
<div class='eq rhs' id='coeff-{^{:x}}'>
+ <span id='coeff-{^{:x}}-disp' class='coeff' data-value={^{:x}}>0</span>×10<sup>{^{:x}}</sup>
<div class='popout' id='popout-{^{:x}}-disp'></div>
</div>
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-526122-21', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>