diff --git a/html/README.md b/docs/README.md similarity index 100% rename from html/README.md rename to docs/README.md diff --git a/html/game.js b/docs/game.js similarity index 97% rename from html/game.js rename to docs/game.js index edd8b6b..08bc0aa 100644 --- a/html/game.js +++ b/docs/game.js @@ -47,7 +47,7 @@ function wrong() var gamesFail = localStorage.getItem('gamesFail'); localStorage.setItem('gamesFail', parseInt(gamesFail) + 1); alert('You dead'); - return; + document.location.reload(true); } lives -= 1; @@ -89,6 +89,6 @@ function offChar(char) var gamesWon = localStorage.getItem('gamesWon'); localStorage.setItem('gamesWon', parseInt(gamesWon) + 1); alert('You Win'); - return; + document.location.reload(true); } } diff --git a/html/genKeys.py b/docs/genKeys.py similarity index 100% rename from html/genKeys.py rename to docs/genKeys.py diff --git a/html/index.html b/docs/index.html similarity index 87% rename from html/index.html rename to docs/index.html index bbbfd10..41c9114 100644 --- a/html/index.html +++ b/docs/index.html @@ -27,7 +27,10 @@ ... - + diff --git a/html/screen.png b/docs/screen.png similarity index 100% rename from html/screen.png rename to docs/screen.png diff --git a/html/styles.css b/docs/styles.css similarity index 83% rename from html/styles.css rename to docs/styles.css index 00a7a95..ed70ef5 100644 --- a/html/styles.css +++ b/docs/styles.css @@ -1,4 +1,6 @@ -// http://paletton.com/#uid=13w0u0kllllaFw0g0qFqFg0w0aF +/* http://paletton.com/#uid=13w0u0kllllaFw0g0qFqFg0w0aF */ + +@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap'); * { margin: 0; padding: 0; outline: 0; diff --git a/html/Play/play.css b/html/Play/play.css deleted file mode 100644 index f1c8caa..0000000 --- a/html/Play/play.css +++ /dev/null @@ -1,13 +0,0 @@ -@font-face { - font-family: 'Play'; - src: url('Play-Regular.ttf') format('truetype'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'Play'; - src: url('Play-Bold.ttf') format('truetype'); - font-weight: bold; - font-style: normal; -} diff --git a/html/Vegur/.gitignore b/html/Vegur/.gitignore deleted file mode 100644 index 5b0b552..0000000 --- a/html/Vegur/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.otf diff --git a/html/Vegur/README.md b/html/Vegur/README.md deleted file mode 100644 index acb6d04..0000000 --- a/html/Vegur/README.md +++ /dev/null @@ -1 +0,0 @@ -Download from [it](http://dotcolon.net/font/vegur/). diff --git a/html/Vegur/vegur.css b/html/Vegur/vegur.css deleted file mode 100644 index ebcd0b0..0000000 --- a/html/Vegur/vegur.css +++ /dev/null @@ -1,7 +0,0 @@ -@font-face { - font-family: 'Vegur'; - src: url('Vegur-Regular.otf') format('opentype'); - font-weight: normal; - font-style: normal; - -}