File size: 1,411 Bytes
2d276da
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
body {
  font-family: Arial, sans-serif;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #faf8ef;
}

.container {
  text-align: center;
}

.score-container {
  font-size: 1.5em;
  margin-bottom: 20px;
}

.game-board {
  display: grid;
  grid-template-columns: repeat(4, 100px);
  grid-gap: 10px;
  background-color: #bbada0;
  padding: 10px;
  border-radius: 5px;
}

.tile {
  width: 100px;
  height: 100px;
  background-color: #eee4da;
  color: #776e65;
  font-size: 2.5em;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
}

.tile.tile-2 {
  background-color: #eee4da;
}

.tile.tile-4 {
  background-color: #ede0c8;
}

.tile.tile-8 {
  background-color: #f2b179;
  color: white;
}

.tile.tile-16 {
  background-color: #f59563;
  color: white;
}

.tile.tile-32 {
  background-color: #f67c5f;
  color: white;
}

.tile.tile-64 {
  background-color: #f65e3b;
  color: white;
}

.tile.tile-128 {
  background-color: #edcf72;
  color: white;
}

.tile.tile-256 {
  background-color: #edcc61;
  color: white;
}

.tile.tile-512 {
  background-color: #edc850;
  color: white;
}

.tile.tile-1024 {
  background-color: #edc53f;
  color: white;
}

.tile.tile-2048 {
  background-color: #edc22e;
  color: white;
}

.instructions {
  margin-top: 20px;
  font-size: 1em;
  color: #776e65;
}