-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·123 lines (95 loc) · 5 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE html>
<html>
<head>
<title>Mathionary</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Mathionary :: Exercise your Math skills!" />
<link rel="shortcut icon" href="http://wynout.github.io/mathionary/images/favicon.ico">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Wendy+One|Roboto">
<link rel="stylesheet" type="text/css" media="screen" href="javascripts/libraries/jquery.mobile/jquery.mobile-1.3.2.css">
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
<script src="javascripts/libraries/jquery/jquery-1.9.1.js"></script>
<script src="javascripts/libraries/jquery.mobile/jquery.mobile-1.3.2.js"></script>
<script src="javascripts/libraries/jquery/jquery.plugin.color.js"></script>
<script src="javascripts/libraries/jquery/jquery.plugin.fittext.js"></script>
<script src="javascripts/libraries/raphael/raphael.2.1.0.min.js"></script>
<script src="javascripts/libraries/justgage/justgage.1.0.1-customized.js"></script>
<style>.ui-page { -webkit-backface-visibility: hidden; }</style>
</head>
<body class="addition-operation">
<!-- Start of game page -->
<div data-role="page" id="game-page">
<div data-role="header" class="ui-bar-a">
<a href="#about" data-rel="dialog" data-transition="none" data-icon="info">About</a>
<h1>Exercise your Math skills!</h1>
</div><!-- /header -->
<div data-role="content">
<div class="darken">
<h1 id="project_title">Mathionary</h1>
<!-- <h2 id="project_tagline">Exercise your Math skills!</h2> -->
<div id="progress"><div id="gauge"></div></div>
<div class="game">
<script class="question-addition-template" type="text/template">
Which numbers add up to {{answer}}?
</script>
<script class="question-subtraction-template" type="text/template">
Which numbers subtract to {{answer}}?
</script>
<script class="question-multiplication-template" type="text/template">
Which numbers multiply to {{answer}}?
</script>
<script class="question-division-template" type="text/template">
Which numbers divide to {{answer}}?
</script>
<div class="question">
<div class="question-text"></div>
<div class="statement"></div>
</div>
<div class="buttons-wrapper">
<ul class="answers buttons addition">
<li class="display-solutions">?</li>
</ul>
<ul class="buttons operations">
<li class="addition" data-operation="addition">+</li>
<li class="subtraction" data-operation="subtraction">−</li>
<li class="multiplication" data-operation="multiplication">×</li>
<li class="division" data-operation="division">÷</li>
</ul>
</div>
</div><!-- /.game -->
</div><!-- /.darken -->
</div><!-- /content -->
</div><!-- /page game -->
<!-- Start of about page: #about -->
<div data-role="page" id="about">
<div data-role="content" data-theme="a" class="ui-content">
<h2>Mathionary</h2>
<p>Written in <a href="http://en.wikipedia.org/wiki/JavaScript">JavaScript</a> using <a href="http://jquery.com/">jQuery</a>, <a href="http://en.wikipedia.org/wiki/HTML5">HTML5</a> and <a href="https://en.wikipedia.org/wiki/Cascading_Style_Sheets">CSS3</a></p>
<p>Project Management by <a href="https://www.pivotaltracker.com/s/projects/846635">Pivotal Tracker</a>
<p>Software Developed using <a href="http://lmgtfy.com/?q=agile+test-driven+development&l=1">Agile TDD</a></p>
<p>Tested with <a href="qunit-tests.html">QUnit</a></p>
<p>Revision Controlled by <a href="http://git-scm.com/">git</a></p>
<p>Code Hosted by <a href="http://github.com">GitHub</a></p>
<p>Published with <a href="http://pages.github.com">GitHub Pages</a></p>
<p class="copyright">Code Maintained by <a href="https://github.com/Wynout">Wynout</a></p>
<p><a href="#game-page" data-rel="back" data-role="button" data-inline="true" data-icon="back">Close</a></p>
</div><!-- /content -->
</div><!-- /page popup -->
<!-- Start Game -->
<script src="javascripts/mathionary.js"></script>
<script type="text/javascript">
(function(){
var config = {
container: 'div.game'
};
window.game = new Game(config);
})();
$('#game-page').on('pageinit', function () {
$('#project_title').fitText(0.75);
$('#project_tagline').fitText(2.25);
$('div.question-text').fitText(2, { minFontSize: '12px', maxFontSize: '24px' });
});
</script>
</body>
</html>