diff --git a/.idea/JavaScript-Snake.iml b/.idea/JavaScript-Snake.iml
new file mode 100644
index 00000000..d6ebd480
--- /dev/null
+++ b/.idea/JavaScript-Snake.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 00000000..5a03e45f
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 00000000..35eb1ddf
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 00000000..1d2d1f46
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,1271 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >>
+ >>#
+ Play again
+ snake-welcome-dialog
+ createTryAgainElement()
+ createTryAgainElement
+ elmTryAgain
+ sensor
+ chosenSnakeSpeed
+ setPaused
+ elmContainer
+ setSensorListeners
+ alert
+ getClientWidth
+ getClient
+ getClientHeight
+ SNAKE.removeEventListener
+ SNAK
+ SNAKE.addEventListener
+ Sensor
+ SNAKE_DIRECTION_DOWN
+ BOARD_STATE_GAME_STARTED
+ SNAKE.board
+ SNAKE.snake
+ Play again?
+ fullScreenText
+ myTouchListener
+ myKeyListener
+ removeEvent
+ moveQueue
+
+
+ UTILS.removeEventListener
+ UTILS.addEventListener
+ SNAKE_DIRECTIONS.DOWN
+ BOARD_STATE.STARTED
+ BOARD_STATES
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ No facets are configured
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1.8
+
+
+
+
+
+
+
+
+
+
+
+ JavaScript-Snake
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/css/dark-snake.css b/css/dark-snake.css
deleted file mode 100644
index 38d7d67a..00000000
--- a/css/dark-snake.css
+++ /dev/null
@@ -1,153 +0,0 @@
-/*
-JavaScript Snake
-By Patrick Gillespie
-http://patorjk.com/games/snake
-*/
-select {
- border: black;
- color: #3E2E44;
- background: black;
-}
-
-button {
- border: black;
- color: #3E2E44;
- background: black;
-}
-
-body {
- margin:0px;
- padding:0px;
-}
-
-#game-area {
- margin:0px;
- padding:0px;
-}
-
-#high-score {
- position: relative;
- left: 200px;
- bottom: 50px;
-}
-
-#game-area:focus { outline: none; }
-
-#mode-wrapper {
- font-family: Verdana, arial, helvetica, sans-serif;
- font-size: 14px;
- color: black;
-}
-
-a.snake-link, a.snake-link:link, a.snake-link:visited {
- color: black;
-}
-
-a.snake-link:hover {
- color: #3E2E44;
-}
-
-.snake-pause-screen {
- font-family: Verdana, arial, helvetica, sans-serif;
- font-size: 14px;
- position:absolute;
- width:300px;
- height:80px;
- text-align:center;
- top:50%;
- left:50%;
- margin-top:-40px;
- margin-left:-150px;
- display:none;
- background-color:#3E2E44;
- color:black;
-}
-
-.snake-panel-component {
- position: absolute;
- font-family: Verdana, arial, helvetica, sans-serif;
- font-size: 14px;
- color: black;
- text-align: center;
- background-color: #3E2E44;
- padding: 8px;
- margin: 0px;
-}
-
-.snake-snakebody-block {
- margin: 0px;
- padding: 0px;
- background-color: #3E2E44;
- position: absolute;
- border: 0px solid black;
- background-repeat: no-repeat;
-}
-
-.snake-snakebody-alive {
- background-image: url('./images/dark-snakeblock.png');
-}
-.snake-snakebody-dead {
- background-image: url('./images/dead-dark-snakeblock.png');
-}
-
-.snake-food-block {
- margin: 0px;
- padding: 0px;
- background-color: black;
- border: 2px solid #3E2E44;
- position: absolute;
-}
-
-.snake-playing-field {
- margin: 0px;
- padding: 0px;
- position: absolute;
- background-color: #312E44;
- border: 3px solid black;
-}
-
-.snake-game-container {
- margin: 0px;
- padding: 0px;
- border-width: 0px;
- border-style: none;
- zoom: 1;
- background-color: #3E2E44;
- position: relative;
-}
-
-.snake-welcome-dialog {
- padding: 8px;
- margin: 0px;
- background-color: black;
- color: #3E2E44;
- font-family: Verdana, arial, helvetica, sans-serif;
- font-size: 14px;
- position: absolute;
- top: 50%;
- left: 50%;
- width: 300px;
- /*height: 150px;*/
- margin-top: -100px;
- margin-left: -158px;
- text-align: center;
- display: block;
-}
-
-.snake-try-again-dialog {
- padding: 8px;
- margin: 0px;
- background-color: black;
- color: #312E44;
- font-family: Verdana, arial, helvetica, sans-serif;
- font-size: 14px;
- position: absolute;
- top: 50%;
- left: 50%;
- width: 300px;
- height: 100px;
- margin-top: -75px;
- margin-left: -158px;
- text-align: center;
- display: none;
- }
diff --git a/css/main-snake.css b/css/main-snake.css
index 03a485c7..6a9a94fe 100755
--- a/css/main-snake.css
+++ b/css/main-snake.css
@@ -13,12 +13,6 @@ body {
padding:0px;
}
-#high-score {
- position: relative;
- left: 200px;
- bottom: 50px;
-}
-
#mode-wrapper {
color: #ffffff;
font-family: Verdana, arial, helvetica, sans-serif;
@@ -134,8 +128,7 @@ a.snake-link:hover {
top: 50%;
left: 50%;
width: 300px;
- height: 100px;
- margin-top: -75px;
+ margin-top: -100px;
margin-left: -158px;
text-align: center;
display: none;
diff --git a/index.html b/index.html
index 04762927..1d3150f6 100755
--- a/index.html
+++ b/index.html
@@ -1,54 +1,19 @@
-
-
+
-
JavaScript Snake
-
-
-
- Select which mode you would like to play in.
-
-
+
+
+
+