Skip to content

Commit e6e4e81

Browse files
update server
1 parent 4dc2bbf commit e6e4e81

File tree

2,336 files changed

+540111
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,336 files changed

+540111
-0
lines changed

server-1.2/main/2048/.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.DS_Store
2+
Thumbs.db
3+
db.json
4+
*.log
5+
node_modules/
6+
public/
7+
.deploy*/
8+
.history

server-1.2/main/2048/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 4Ark
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

server-1.2/main/2048/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# 2048 游戏
2+
3+
在线玩:https://4ark.me/2048
4+
5+
如果对您有帮助欢迎 Star!😋
6+
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
@keyframes moveup{
2+
0%{
3+
transform: translateY(0);
4+
opacity: 1;
5+
}
6+
100%{
7+
transform: translateY(-150px);
8+
opacity: 0;
9+
}
10+
}
11+
@keyframes appear{
12+
0%{
13+
transform: scale(0);
14+
}
15+
100%{
16+
transform: scale(1);
17+
}
18+
}
19+
@keyframes add{
20+
0%{
21+
transform: scale(1);
22+
box-shadow: 0 0 1px red;
23+
}
24+
50%{
25+
transform: scale(1.2);
26+
}
27+
100%{
28+
transform: scale(1);
29+
}
30+
}

server-1.2/main/2048/css/media.css

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
@media screen and (max-width:1250px){
2+
html,body{
3+
font-size: 15px;
4+
}
5+
.container{
6+
width: 280px;
7+
}
8+
h1.title{
9+
font-size: 31px;
10+
}
11+
.score-container,
12+
.best-container{
13+
padding: 3px 10px;
14+
}
15+
.game-container{
16+
margin-top: 10px;
17+
width: 280px;
18+
height: 280px;
19+
}
20+
.grid-container,
21+
.tile-container{
22+
width: 260px;
23+
height: 260px;
24+
}
25+
.grid-row,
26+
.tile{
27+
height: 22.75%;
28+
}
29+
.grid-cell,
30+
.tile{
31+
width: 22.75%;
32+
}
33+
.grid-row{
34+
margin-bottom: 3%;
35+
}
36+
.grid-cell{
37+
margin-right: 3%;
38+
}
39+
.tile{
40+
font-size: 35px;
41+
}
42+
.tile[data-val="128"],
43+
.tile[data-val="256"],
44+
.tile[data-val="512"]{
45+
font-size: 25px;
46+
}
47+
.tile[data-val="1024"],
48+
.tile[data-val="2048"]{
49+
font-size: 21px;
50+
}
51+
52+
.pop-container p{
53+
font-size: 30px;
54+
}
55+
}

0 commit comments

Comments
 (0)