Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
602 changes: 602 additions & 0 deletions dist/JavaScript-Snake.59712999.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/JavaScript-Snake.59712999.js.map

Large diffs are not rendered by default.

146 changes: 146 additions & 0 deletions dist/css/Senura-snake.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
/*
JavaScript Snake
By Patrick Gillespie
http://patorjk.com/games/snake
*/

body {
margin: 0px;
padding: 0px;
background-color: #000000;
}

.snake-toolbar {
color: #847a87;
}

#game-area {
margin: 10px;
padding: 0px;
}

#game-area:focus {
outline: none;
}

#mode-wrapper {
font-family: Verdana, arial, helvetica, sans-serif;
font-size: 14px;
color: #f6f0f7;
}

a.snake-link,
a.snake-link:link,
a.snake-link:visited {
color: #605d61;
}

a.snake-link:hover {
color: #a500d6;
}

.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: #ffffff;
color: #938996;
}

.snake-panel-component {
position: absolute;
font-family: Verdana, arial, helvetica, sans-serif;
font-size: 14px;
color: #cf6d6d;
text-align: center;
background-color: #550b70;
padding: 8px;
margin: 0px;
}

.snake-snakebody-block {
margin: 0px;
padding: 0px;
background-color: #eddff2;
position: absolute;
border: 0px solid black;
background-repeat: no-repeat;
}

.snake-snakebody-alive {
background-image: url("src/css/images/dark-snakeblock.png");
}
.snake-snakebody-dead {
background-image: url("src/css/images/dead-dark-snakeblock.png");
}

.snake-food-block {
margin: 0px;
padding: 0px;
background-color: black;
border: 2px solid #000000;
position: absolute;
}

.snake-playing-field {
margin: 0px;
padding: 0px;
position: absolute;
background-color: #fcfcfc;
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: #ab00de;
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,
.snake-win-dialog {
padding: 8px;
margin: 0px;
background-color: black;
color: #ab00de;
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;
}
142 changes: 142 additions & 0 deletions dist/css/black-snake.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
/*
JavaScript Snake
By Patrick Gillespie
http://patorjk.com/games/snake
*/
body {
margin: 0px;
padding: 0px;
background-color: black;
color: white;
}

#game-area {
margin: 10px;
padding: 0px;
}

#mode-wrapper {
color: #ffffff;
font-family: Verdana, arial, helvetica, sans-serif;
font-size: 14px;
}

#game-area:focus {
outline: none;
}

a.snake-link,
a.snake-link:link,
a.snake-link:visited {
color: #fcfc54;
}

a.snake-link:hover {
color: #ffff54;
}

.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: black;
color: white;
}

.snake-panel-component {
position: absolute;
font-family: Verdana, arial, helvetica, sans-serif;
font-size: 14px;
color: #ffffff;
text-align: center;
padding: 8px;
margin: 0px;
}

.snake-snakebody-block {
margin: 0px;
padding: 0px;
background-color: #ff0000;
position: absolute;
border: 0px solid #000080;
background-repeat: no-repeat;
}

.snake-snakebody-alive {
background-image: url("src/cssss/images/snakeblock.png"),
url("src/css/images/snakeblock.png");
}
.snake-snakebody-dead {
background-image: url("src/cssss/images/deadblock.png"),
url("src/css/images/deadblock.png");
}

.snake-food-block {
margin: 0px;
padding: 0px;
background-color: aqua;
border: 0px solid #000080;
position: absolute;
}

.snake-playing-field {
margin: 0px;
padding: 0px;
position: absolute;
background-color: purple;
border: 0px solid purple;
}

.snake-game-container {
margin: 0px;
padding: 0px;
border-width: 0px;
border-style: none;
zoom: 1;
position: relative;
}

.snake-welcome-dialog {
padding: 8px;
margin: 0px;
background-color: #000000;
color: #ffffff;
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,
.snake-win-dialog {
padding: 8px;
margin: 0px;
background-color: #000000;
color: #ffffff;
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;
}
Loading