forked from gopher-snakes-2013/game-canvas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
144 lines (123 loc) · 5.51 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/normalize.css">
<link href="css/flick/jquery-ui-1.10.3.custom.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link href='http://fonts.googleapis.com/css?family=Luckiest+Guy' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=VT323' rel='stylesheet' type='text/css'>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="javascripts/jquery-1.9.1.js"></script>
<script src="javascripts/jquery-ui-1.10.3.custom.js"></script>
<script type="text/javascript" src="javascripts/timer.js"></script>
<script type="text/javascript" src="javascripts/sprite.js"></script>
<script type="text/javascript" src="javascripts/path.js"></script>
<script type="text/javascript" src="javascripts/grid.js"></script>
<script type="text/javascript" src="javascripts/parser.js"></script>
<script type="text/javascript" src="javascripts/commandlog.js"></script>
<script type="text/javascript" src="javascripts/terminal.js"></script>
<script type="text/javascript" src="javascripts/resize_controller.js"></script>
<script type="text/javascript" src="javascripts/string.js"></script>
<script type="text/javascript" src="javascripts/imageuploader.js"></script>
<script type="text/javascript" src="javascripts/application_controller.js"></script>
<script type="text/javascript" src="javascripts/colors.js"></script>
<script type="text/javascript" src="javascripts/index.js"></script>
</head>
<body>
<div class ="wrapper">
<header>
<h1>Code with <span id='capital'>N</span>yan</h1>
</header>
<div id='image-link-wrapper'>
<div id='image-link-container'></div>
</div>
<div class='left-container'>
<div class='canvas-container'>
<canvas width="1080" height="608" id="path-canvas"></canvas>
<canvas width="1080" height="608" id="grid-canvas"></canvas>
<canvas width="1080" height="608" id="sprite-canvas"></canvas>
</div>
<div class='leftbottom-container'>
<form class='nycatform'>
<input type='text' id='textbox'>
<input class='hidden' type='submit' value = "Go!">
</form>
<a href="#" class="go-button">GO!</a>
<div class='hints'>Hints?</div>
<span class='legend'>
forward 10 | backward 10 | jump 5 | spin | rotate 60 | right | left | reset | randomcolor | linewidth 5
</span>
</div>
</div>
<div class ='right-sidebar'>
<div class='commandlog-container'>
<h3>Command Log</h3>
<ul class='list-of-commands'>
</ul>
</div>
<div class='recipe-container'>
<h3>Try these out!</h3>
<div class='recipe-list'>
<div class='recipe' class='glow'>
<div class='recipe-left-column'><div id='line'></div></div>
<div class='recipe-right-column'>forward 10</div>
</div>
<div class ='recipe'>
<div class='recipe-full-width'>Type <span class ='console-font'>reset</span> and press <span class="go-button-mini">GO!</span></div>
</div>
<div class='recipe'>
<div class='recipe-left-column'><div id="rectangle"></div></div>
<div class='recipe-right-column'>
linewidth 50, forward 5
</div>
</div>
<div class='recipe'>
<div class='recipe-left-column'><img src="images/colorblock.png"></div>
<div class='recipe-right-column'>
green, forward 5, jump 5
</div>
</div>
<div class ='recipe'>
<div class='recipe-full-width'>Type <span class ='console-font'>save</span> and press <span class="go-button-mini">GO!</span></div>
</div>
<div class ='recipe'>
<div class='recipe-full-width'>Type <span class ='console-font'>undo</span> to undo your last command.</div>
</div>
<div class ='recipe'>
<div class='recipe-full-width'>Type <span class ='console-font'>rotate 90</span>. What happens?</div>
</div>
<div class='recipe'>
<div class='recipe-left-column'><div id='triangle-up'></div></div>
<div class='recipe-right-column'>
(forward 10, rotate 240) repeat 3
</div>
</div>
<div class='recipe'>
<div class='recipe-left-column'><img src="images/starburst.png"></div>
<div class='recipe-right-column'>
orange, linewidth 200 <span class="go-button-mini">GO!</span>
<div class='line-seperator'></div>
(forward 1, rotate 10) repeat 36
</div>
</div>
<div class='recipe'>
<div class='recipe-left-column'><img src="images/colorstrips.png"></div>
<div class='recipe-right-column'>
linewidth 2000 <span class="go-button-mini">GO!</span>
<div class='line-seperator'></div>
(spin, randomcolor, forward 10) repeat 10
</div>
</div>
</div>
</div>
<div id='dashboard'>
<h4> DashBoard </h4>
<h6 id='current-color'> Current Color: Blue </h6>
<h6 id='line-width'> Current Line Width: 5 </h6>
</div>
</div>
<img class='sprite-img' src="images/nyancat2.png">
</div>
</div>
</body>
</html>