Skip to content

Commit ed53706

Browse files
authored
Merge pull request #127 from DylanLCrocker/feature-google-theme
New Theme: Original theme
2 parents 2ff4a3e + 2592e93 commit ed53706

5 files changed

Lines changed: 345 additions & 156 deletions

File tree

‎.all-contributorsrc‎

Lines changed: 76 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"projectName": "JavaScript-Snake",
33
"projectOwner": "patorjk",
4-
"files": ["README.md"],
4+
"files": [
5+
"README.md"
6+
],
57
"commitType": "docs",
68
"commitConvention": "angular",
79
"contributorsPerLine": 7,
@@ -11,105 +13,162 @@
1113
"name": "patorjk",
1214
"avatar_url": "https://avatars.githubusercontent.com/u/521224?v=4",
1315
"profile": "http://patorjk.com/",
14-
"contributions": ["code", "doc", "design", "bug", "example"]
16+
"contributions": [
17+
"code",
18+
"doc",
19+
"design",
20+
"bug",
21+
"example"
22+
]
1523
},
1624
{
1725
"login": "ultra17",
1826
"name": "ultra17",
1927
"avatar_url": "https://avatars.githubusercontent.com/u/27869698?v=4",
2028
"profile": "https://github.com/ultra17",
21-
"contributions": ["code", "doc", "design", "bug"]
29+
"contributions": [
30+
"code",
31+
"doc",
32+
"design",
33+
"bug"
34+
]
2235
},
2336
{
2437
"login": "Rb64",
2538
"name": "Rb64",
2639
"avatar_url": "https://avatars.githubusercontent.com/u/91498309?v=4",
2740
"profile": "https://github.com/Rb64",
28-
"contributions": ["code", "bug"]
41+
"contributions": [
42+
"code",
43+
"bug"
44+
]
2945
},
3046
{
3147
"login": "legoman8304",
3248
"name": "Wyatt Nulton",
3349
"avatar_url": "https://avatars.githubusercontent.com/u/43346988?v=4",
3450
"profile": "https://github.com/legoman8304",
35-
"contributions": ["code", "bug"]
51+
"contributions": [
52+
"code",
53+
"bug"
54+
]
3655
},
3756
{
3857
"login": "ashishsiot",
3958
"name": "Ashish Bhoir",
4059
"avatar_url": "https://avatars.githubusercontent.com/u/63919950?v=4",
4160
"profile": "https://github.com/ashishsiot",
42-
"contributions": ["doc"]
61+
"contributions": [
62+
"doc"
63+
]
4364
},
4465
{
4566
"login": "dginovker",
4667
"name": "Dan G",
4768
"avatar_url": "https://avatars.githubusercontent.com/u/32943174?v=4",
4869
"profile": "http://dginovker.github.io",
49-
"contributions": ["code", "bug"]
70+
"contributions": [
71+
"code",
72+
"bug"
73+
]
5074
},
5175
{
5276
"login": "Megas4ever",
5377
"name": "Megas4ever",
5478
"avatar_url": "https://avatars.githubusercontent.com/u/28103886?v=4",
5579
"profile": "https://github.com/Megas4ever",
56-
"contributions": ["code", "design"]
80+
"contributions": [
81+
"code",
82+
"design"
83+
]
5784
},
5885
{
5986
"login": "mamamia5x",
6087
"name": "Bugs Bunny",
6188
"avatar_url": "https://avatars.githubusercontent.com/u/57536929?v=4",
6289
"profile": "https://github.com/mamamia5x",
63-
"contributions": ["code", "bug"]
90+
"contributions": [
91+
"code",
92+
"bug"
93+
]
6494
},
6595
{
6696
"login": "Coteh",
6797
"name": "James Cote",
6898
"avatar_url": "https://avatars.githubusercontent.com/u/3276350?v=4",
6999
"profile": "https://www.jamescote.ca",
70-
"contributions": ["code", "bug", "doc"]
100+
"contributions": [
101+
"code",
102+
"bug",
103+
"doc"
104+
]
71105
},
72106
{
73107
"login": "yokesharun",
74108
"name": "Arun Yokesh",
75109
"avatar_url": "https://avatars.githubusercontent.com/u/12830078?v=4",
76110
"profile": "http://yokesharun.github.io/",
77-
"contributions": ["code", "design"]
111+
"contributions": [
112+
"code",
113+
"design"
114+
]
78115
},
79116
{
80117
"login": "GregFrench",
81118
"name": "Greg French",
82119
"avatar_url": "https://avatars.githubusercontent.com/u/17938510?v=4",
83120
"profile": "https://github.com/GregFrench",
84-
"contributions": ["code"]
121+
"contributions": [
122+
"code"
123+
]
85124
},
86125
{
87126
"login": "KT360",
88127
"name": "KT360",
89128
"avatar_url": "https://avatars.githubusercontent.com/u/31077743?v=4",
90129
"profile": "https://github.com/KT360",
91-
"contributions": ["code", "design"]
130+
"contributions": [
131+
"code",
132+
"design"
133+
]
92134
},
93135
{
94136
"login": "Thusal06",
95137
"name": "Thusal Ranawaka",
96138
"avatar_url": "https://avatars.githubusercontent.com/u/66709891?v=4",
97139
"profile": "https://thusal06.github.io/",
98-
"contributions": ["code", "design"]
140+
"contributions": [
141+
"code",
142+
"design"
143+
]
99144
},
100145
{
101146
"login": "Furtano",
102147
"name": "C. S.",
103148
"avatar_url": "https://avatars.githubusercontent.com/u/4115133?v=4",
104149
"profile": "https://github.com/Furtano",
105-
"contributions": ["code", "design"]
150+
"contributions": [
151+
"code",
152+
"design"
153+
]
106154
},
107155
{
108156
"login": "akhill2606",
109157
"name": "Akhil Manohar",
110158
"avatar_url": "https://avatars.githubusercontent.com/u/56164681?v=4",
111159
"profile": "https://github.com/akhill2606",
112-
"contributions": ["code"]
160+
"contributions": [
161+
"code"
162+
]
163+
},
164+
{
165+
"login": "DylanLCrocker",
166+
"name": "Dylan Crocker",
167+
"avatar_url": "https://avatars.githubusercontent.com/DylanLCrocker",
168+
"profile": "https://github.com/DylanLCrocker",
169+
"contributions": [
170+
"code"
171+
]
113172
}
114173
]
115-
}
174+
}

‎.gitignore‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
.parcel-cache
2+
/dist
3+
/node_modules

‎package-lock.json‎

Lines changed: 2 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/css/blue-snake.css‎

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
body {
2+
margin: 0px;
3+
padding: 0px;
4+
background-color: rgb(0, 70, 32);
5+
}
6+
7+
#game-area {
8+
margin: 10px;
9+
padding: 0px;
10+
}
11+
12+
#mode-wrapper {
13+
color: #ffffff;
14+
font-family: Verdana, arial, helvetica, sans-serif;
15+
font-size: 14px;
16+
}
17+
18+
a.snake-link,
19+
a.snake-link:link,
20+
a.snake-link:visited {
21+
color: #ffffff;
22+
}
23+
24+
.snake-pause-screen {
25+
font-family: Verdana, arial, helvetica, sans-serif;
26+
font-size: 14px;
27+
position: absolute;
28+
width: 300px;
29+
height: 80px;
30+
text-align: center;
31+
top: 50%;
32+
left: 50%;
33+
margin-top: -40px;
34+
margin-left: -150px;
35+
display: none;
36+
background-color: rgb(0, 70, 32);
37+
color: white;
38+
}
39+
40+
.snake-panel-component {
41+
position: absolute;
42+
font-family: Verdana, arial, helvetica, sans-serif;
43+
font-size: 14px;
44+
color: #ffffff;
45+
text-align: center;
46+
padding: 8px;
47+
margin: 0px;
48+
}
49+
50+
#snake-snakehead-alive {
51+
background-image: url("src/css/images/green-head-snakeblock.png");
52+
margin: 0px;
53+
padding: 0px;
54+
background-color: rgb(6, 104, 134);
55+
position: absolute;
56+
border: 0px solid #000000;
57+
background-repeat: no-repeat;
58+
border-radius: 4px;
59+
}
60+
61+
.snake-snakebody-block {
62+
margin: 0px;
63+
padding: 0px;
64+
background-color: #247fb4;
65+
position: absolute;
66+
background-repeat: no-repeat;
67+
}
68+
69+
.snake-snakebody-alive {
70+
background-image: url("src/css/images/snakeblock.png");
71+
}
72+
73+
.snake-snakebody-dead {
74+
background-image: url("src/css/images/deadblock.png");
75+
}
76+
77+
.snake-food-block {
78+
margin: 0px;
79+
padding: 0px;
80+
background-color: rgb(207, 33, 33);
81+
border: 0px solid #000000;
82+
position: absolute;
83+
border-radius: 6px;
84+
}
85+
86+
.snake-playing-field {
87+
margin: 0px;
88+
padding: 0px;
89+
position: absolute;
90+
background-color: rgb(20, 156, 54);
91+
border: 0px solid #000000;
92+
}
93+
94+
.snake-game-container {
95+
margin: 0px;
96+
padding: 0px;
97+
border-width: 0px;
98+
border-style: none;
99+
zoom: 1;
100+
position: relative;
101+
}
102+
103+
.snake-welcome-dialog {
104+
padding: 8px;
105+
margin: 0px;
106+
background-color: #000000;
107+
color: #ffffff;
108+
font-family: Verdana, arial, helvetica, sans-serif;
109+
font-size: 14px;
110+
position: absolute;
111+
top: 50%;
112+
left: 50%;
113+
width: 300px;
114+
/*height: 150px;*/
115+
margin-top: -100px;
116+
margin-left: -158px;
117+
text-align: center;
118+
display: block;
119+
}
120+
121+
.snake-try-again-dialog,
122+
.snake-win-dialog {
123+
padding: 8px;
124+
margin: 0px;
125+
background-color: #000000;
126+
color: #ffffff;
127+
font-family: Verdana, arial, helvetica, sans-serif;
128+
font-size: 14px;
129+
position: absolute;
130+
top: 50%;
131+
left: 50%;
132+
width: 300px;
133+
height: 100px;
134+
margin-top: -75px;
135+
margin-left: -158px;
136+
text-align: center;
137+
display: none;
138+
}

0 commit comments

Comments
 (0)