Browse Source

gedöns

master
Ruben Müller 9 years ago
parent
commit
9d6426a6f1
  1. 4
      Makefile
  2. 872
      build/game.js
  3. 470
      build/notsoaloneinthedark-game.html
  4. 6
      src/config.coffee
  5. 11
      src/index.html

4
Makefile

@ -1,6 +1,8 @@
compile: clean
for file in `cat compile.order`; do coffee -b -p -c src/$$file >> build/game.js; done
cp index.html build/index.html
cp src/index.html build/index.html
clean:
rm -rf build/*
alle: compile

872
build/game.js

File diff suppressed because one or more lines are too long

470
build/notsoaloneinthedark-game.html

File diff suppressed because one or more lines are too long

6
src/config.coffee

@ -3,9 +3,9 @@ context = canvas.getContext '2d'
context.textAlign = 'center';
gamestates =
RUN = 'RUN'
WIN = 'WIN'
OVER = 'OVER'
RUN: 'RUN'
WIN: 'WIN'
OVER: 'OVER'
config =
gamestate: gamestates.RUN

11
src/index.html

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>jar</title>
<meta charset="UTF-8" />
</head>
<body>
<canvas id="canvas"></canvas>
<script src="game.js"></script>
</body>
</html>
Loading…
Cancel
Save