-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
142 lines (125 loc) · 4.02 KB
/
index.html
File metadata and controls
142 lines (125 loc) · 4.02 KB
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Classic Games Collection</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.container {
max-width: 800px;
width: 100%;
}
h1 {
text-align: center;
color: white;
font-size: 3em;
margin-bottom: 20px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.subtitle {
text-align: center;
color: rgba(255,255,255,0.9);
font-size: 1.2em;
margin-bottom: 50px;
}
.games-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-top: 40px;
}
.game-card {
background: white;
border-radius: 15px;
padding: 40px;
text-align: center;
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-decoration: none;
color: inherit;
display: block;
}
.game-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
.game-icon {
font-size: 4em;
margin-bottom: 20px;
display: block;
}
.game-title {
font-size: 2em;
color: #333;
margin-bottom: 15px;
font-weight: bold;
}
.game-description {
color: #666;
line-height: 1.6;
font-size: 1em;
}
.play-button {
display: inline-block;
margin-top: 20px;
padding: 12px 30px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 25px;
font-weight: bold;
transition: opacity 0.3s ease;
}
.game-card:hover .play-button {
opacity: 0.9;
}
@media (max-width: 600px) {
h1 {
font-size: 2em;
}
.games-grid {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body>
<div class="container">
<h1>🎮 Classic Games</h1>
<p class="subtitle">Choose your adventure</p>
<div class="games-grid">
<a href="sokoban.html" class="game-card">
<span class="game-icon">📦</span>
<h2 class="game-title">Sokoban</h2>
<p class="game-description">Push boxes to their targets in this classic puzzle game. Strategic thinking required!</p>
<span class="play-button">Play Now</span>
</a>
<a href="tetris.html" class="game-card">
<span class="game-icon">🧱</span>
<h2 class="game-title">Tetris</h2>
<p class="game-description">Stack falling blocks and clear lines in this timeless arcade classic!</p>
<span class="play-button">Play Now</span>
</a>
<a href="catcombat.html" class="game-card">
<span class="game-icon">🐱</span>
<h2 class="game-title">Cat Combat</h2>
<p class="game-description">Battle rival cats and catch mice in this 3D third-person action game!</p>
<span class="play-button">Play Now</span>
</a>
</div>
</div>
</body>
</html>