/
index.html
61 lines (56 loc) · 2.11 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Interactive Fiction</title>
<link href="main.css" rel="stylesheet" />
</head>
<body>
<div id="player_inventory">
<span class="item-container"><h3>Inventory:</h3>
<div class="inventory-box empty"></div>
<div class="inventory-box empty"></div>
<div class="inventory-box empty"></div>
</span>
</div>
<div id="steps-taken">
<h3>Steps Taken:</h3>
<ul id='steps'>
</ul>
</div>
<div id="impress">
<div id="slide1" class="step slide">
<div class="slide-text">
<p>There's a time machine over there. Flip the switch?</p>
<p><a href='#slide2'>FLIP</a> it.</p>
<p><a href='#slide3'>WAIT</a> for your dad, who is a scientist, to come home</p>
<div class="event-text"></div>
</div>
<div class="menu item-container"><div class="inventory-box"><img src="bat.png" alt="bat" class="item" id="bat"></div></div>
</div>
<div id="slide2" class="step slide" data-x="1500">
<div class="slide-text">
<p>Woah. A dinosaur. I wonder if you can hit it with something...</p>
<div class="event-text"></div>
</div>
<div class="menu"><div class="inventory-box"><img src="dino.png" alt="dino" class="item" id="dino"></div></div>
</div>
<div id="slide3" class="step slide" data-x="-1500">
<div class="slide-text">
<p>You hung around for a while, and then your dad came home.</p>
<p>Then he helped you with your homework.</p>
<p>It was kind of fun, but not that much fun.</p>
<div class="event-text"></div>
</div>
<div class="menu"><a href="#" onclick='location = window.location.pathname; return false;'>START OVER</a></div>
</div>
</div>
<script src="impress.js"></script>
<script>impress().init();</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script>!window.jQuery && document.write('<script src="jquery-1.4.1.min.js"><\/script>')</script>
<script src="jquery.raptorize.1.0.js"></script>
<script src="game.js"></script>
<script src="dragDrop.js"></script>
</body>
</html>