Skip to content

Commit 625ea84

Browse files
committed
minor updates
1 parent 61b6f25 commit 625ea84

File tree

3 files changed

+34
-7
lines changed

3 files changed

+34
-7
lines changed

index.html

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@
7171
<div style="display:inline-block;margin-right:10px;">
7272
<span>Theme:</span>
7373
<select onchange="getTheme()" id="select">
74-
<option>Light Theme</option>
75-
<option selected>Main Theme</option>
76-
<option>Dark Theme</option>
77-
<option>Green Theme</option>
74+
<option>Light Theme by yokesharun</option>
75+
<option selected>Main Theme by patorjk</option>
76+
<option>Dark Theme by KenyStev</option>
77+
<option>Green Theme by CoffeeCatDE</option>
7878

7979
</select>
8080
</div>
@@ -86,9 +86,6 @@
8686
<option value="50">Hard</option>
8787
</select>
8888
</div>
89-
<div style="display:inline-block;margin-right:10px;">
90-
<button id="high-score">Your High Score</button>
91-
</div>
9289
</div>
9390

9491
<!--

package.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "javascript-snake",
3+
"version": "1.0.0",
4+
"description": "JavaScript Snake<br/> By Patrick Gillespie<br/> License: MIT<br/> http://patorjk.com/games/snake",
5+
"main": "js/snake.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/patorjk/JavaScript-Snake.git"
12+
},
13+
"author": "",
14+
"license": "MIT",
15+
"bugs": {
16+
"url": "https://github.com/patorjk/JavaScript-Snake/issues"
17+
},
18+
"homepage": "https://github.com/patorjk/JavaScript-Snake#readme",
19+
"devDependencies": {
20+
"webpack": "^4.41.1",
21+
"webpack-cli": "^3.3.9"
22+
}
23+
}

webpack.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const webpack = require('webpack');
2+
3+
module.exports = {
4+
entry: {
5+
app: './index.html'
6+
}
7+
};

0 commit comments

Comments
 (0)