diff options
author | Joris Guyonvarch | 2015-03-07 12:16:32 +0100 |
---|---|---|
committer | Joris Guyonvarch | 2015-03-07 12:16:32 +0100 |
commit | 8f8df67f3795b02c6918d7df832580e9de7d0802 (patch) | |
tree | e8788ff319b0b18f7cf3bead073a8e90a36608ee /index.html | |
parent | 1b23d8adcd01345eb4a2e7299e07b1f37fee7e8a (diff) |
Generate html with elm
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 32 |
1 files changed, 6 insertions, 26 deletions
@@ -10,32 +10,12 @@ </head> <body> - - <h1>cAtchVoid</h1> - - <div id="game"></div> - - <p> - Catch the points of your color, avoid the other points. - </p> - - <p> - Use the arrow keys to move and 'e' to change your color. - </p> - - <script type="text/javascript"> - var input = { - initialTime: new Date().getTime() - }; - Elm.embed(Elm.Main, document.getElementById('game'), input); - </script> - - <a href="https://github.com/guyonvarch/catchvoid"> - <img style="position: absolute; top: 0; right: 0; border: 0;" - src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" - alt="Fork me on GitHub" - data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"> - </a> </body> + <script> + Elm.fullscreen(Elm.Main, { + initialTime: new Date().getTime() + }); + </script> + </html> |