diff --git a/code/index.css b/code/game.css similarity index 100% rename from code/index.css rename to code/game.css diff --git a/code/game.html b/code/game.html new file mode 100644 index 0000000..8de8f0b --- /dev/null +++ b/code/game.html @@ -0,0 +1,47 @@ + + + + + On The Dot + + + + + + + + + + diff --git a/code/game.php b/code/game.php new file mode 100644 index 0000000..b692473 --- /dev/null +++ b/code/game.php @@ -0,0 +1,50 @@ + + + + + On The Dot + + + + + + + + + + diff --git a/code/index.html b/code/index.html index 9b05199..1afac93 100644 --- a/code/index.html +++ b/code/index.html @@ -1,47 +1,16 @@ - + - - On The Dot - - - - - - - - - + + \ No newline at end of file diff --git a/code/index.php b/code/index.php new file mode 100644 index 0000000..5667d8c --- /dev/null +++ b/code/index.php @@ -0,0 +1,16 @@ + + + + On the Dot + + +
+ +
+
+ +
+
+ + + \ No newline at end of file diff --git a/code/selecteur.js b/code/selecteur.js new file mode 100644 index 0000000..bfccbb9 --- /dev/null +++ b/code/selecteur.js @@ -0,0 +1,21 @@ +function $_GET(param) { + var vars = {}; + window.location.href.replace( location.hash, '' ).replace( + /[?&]+([^=&]+)=?([^&]*)?/gi, // regexp + function( m, key, value ) { // callback + vars[key] = value !== undefined ? value : ''; + } + ); + + if ( param ) { + return vars[param] ? vars[param] : null; + } + return vars; +} + +var get=$_GET(); + +if(get['mode']=="no-res") +{ + document.getElementById("canvasR").style.display="none"; +} \ No newline at end of file