-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (54 loc) · 2.1 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="./index.css" media="screen" title="no title" charset="utf-8">
<link href='https://fonts.googleapis.com/css?family=Aldrich|Roboto' rel='stylesheet' type='text/css'>
</head>
<body>
<h1>Junior Pool (Built on <a href="https://github.com/gvaradarajan/HadronJS">HadronJS</a>)</h1>
<div class="canvas-cont">
<canvas class="table" id="canvas" width="400" height="750"></canvas>
</div>
<div class="overflow-cont">
<canvas class="overflow" id="overflow" width="800" height="1000"></canvas>
</div>
<h1 class="game-status"></h1>
<button type="button" name="restart" id="restart">Play Again</button>
<h2>Presented by <a href="http://www.gauthamvaradarajan.com">Gautham</a> |
<a href="https://github.com/gvaradarajan">Github</a> |
<a href="https://www.linkedin.com/in/gautham-varadarajan-a88367114">
LinkedIn
</a>
</h2>
<div class="modal">
<div class="modal-cont">
<h1>Junior Pool</h1>
<h2 class="dir-header">DIRECTIONS:</h2>
<ol class="directions">
<li>Click on the cue ball and hold</li>
<li>Drag left and right to change the angle.
Drag closer and farther away from the ball to increase
or decrease the force on the ball respectively.</li>
<li>When you're ready to hit the ball, release the mouse button</li>
<li>When the balls have stopped moving, the "READY" signal will appear
and you can take another turn</li>
<li>The game ends when you've gotten all the balls in the pockets or you scratch</li>
</ol>
<p class="close-badge">X</p>
</div>
</div>
<script src="lib/bundle.js"></script>
<script>
// setInterval(function () {
// c.clearRect(0, 0, canvas.width, canvas.height);
// newObj.draw(c);
// newObj.move();
// }, 20)
// var game = new Asteroids.Game();
// var gameView = new Asteroids.GameView(game, c);
// gameView.start();
</script>
</body>
</html>