Skip to content

Commit 2ad16fc

Browse files
author
Zirak
committed
initial, no actual gameplay yet
0 parents  commit 2ad16fc

File tree

10 files changed

+17818
-0
lines changed

10 files changed

+17818
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*~
2+
#*#
3+
js/ace-builds

css/style.css

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
body {
2+
background : #141414;
3+
overflow : hidden;
4+
}
5+
6+
/* css is not my thing */
7+
8+
#editor {
9+
position : absolute;
10+
11+
top : 20%;
12+
bottom : 30%;
13+
right : 2%;
14+
left : 2%;
15+
16+
margin : 0;
17+
18+
font-size : 1em;
19+
}
20+
21+
#run-button {
22+
position : absolute;
23+
24+
top : 75%;
25+
bottom : 2%;
26+
left : 2%;
27+
right : 70%;
28+
29+
padding : 0;
30+
margin : 0;
31+
32+
font-size : 2em;
33+
}
34+
35+
#log-wrapper {
36+
position : absolute;
37+
38+
top : 75%;
39+
bottom : 2%;
40+
left : 30.5%;
41+
right : 2%;
42+
43+
margin : 0;
44+
45+
font-size : 1.2em;
46+
background : #ffffcc;
47+
48+
overflow-x : scroll;
49+
}
50+
#log-wrapper .log-line {
51+
margin : 4px;
52+
}
53+
#log-wrapper .log-line.log-pass {
54+
background : green;
55+
}
56+
#log-wrapper .log-line.log-fail {
57+
background : red;
58+
}
59+
#log-wrapper .log-line.log-error {
60+
background : orange;
61+
}

index.html

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>Timed JS questions</title>
6+
<link rel="stylesheet" href="css/style.css" />
7+
</head>
8+
9+
<body>
10+
11+
<pre id="editor"></pre>
12+
<button id="run-button">Pump Awesome</button>
13+
<div id="log-wrapper">Floop</div>
14+
15+
<script src="js/ace-builds/src-noconflict/ace.js" charset="utf-8"></script>
16+
<script src="js/level.js"></script>
17+
</body>

js/ace-builds/LICENSE

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Copyright (c) 2010, Ajax.org B.V.
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
* Redistributions of source code must retain the above copyright
7+
notice, this list of conditions and the following disclaimer.
8+
* Redistributions in binary form must reproduce the above copyright
9+
notice, this list of conditions and the following disclaimer in the
10+
documentation and/or other materials provided with the distribution.
11+
* Neither the name of Ajax.org B.V. nor the
12+
names of its contributors may be used to endorse or promote products
13+
derived from this software without specific prior written permission.
14+
15+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18+
DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
19+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

js/ace-builds/README.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Ace (Ajax.org Cloud9 Editor)
2+
============================
3+
4+
Ace is a code editor written in JavaScript.
5+
6+
This repository has only generated files.
7+
If you want to work on ace please go to https://github.com/ajaxorg/ace instead.
8+
9+
10+
here you can find pre-built files for convenience of embedding.
11+
it contains 4 versions
12+
* [src](https://github.com/ajaxorg/ace-builds/tree/master/src) concatenated but not minified
13+
* [src-min](https://github.com/ajaxorg/ace-builds/tree/master/src-min) concatenated and minified with uglify.js
14+
* [src-noconflict](https://github.com/ajaxorg/ace-builds/tree/master/src-noconflict) uses ace.require instead of require
15+
* [src-min-noconflict](https://github.com/ajaxorg/ace-builds/tree/master/src-min-noconflict) -
16+
17+
18+
For a simple way of embedding ace into webpage see https://github.com/ajaxorg/ace-builds/blob/master/editor.html
19+
To see ace in action go to [kitchen-sink-demo](http://ajaxorg.github.com/ace-builds/kitchen-sink.html), [scrollable-page-demo](http://ajaxorg.github.com/ace-builds/scrollable-page.html), or [minimal demo](http://ajaxorg.github.com/ace-builds/editor.html)
20+
21+

0 commit comments

Comments
 (0)