Gomesy72 commited on
Commit
161c9b2
·
verified ·
1 Parent(s): f556242

Upload index.html with huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +123 -115
index.html CHANGED
@@ -1,115 +1,123 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
6
- <meta name="apple-mobile-web-app-capable" content="yes">
7
- <meta name="mobile-web-app-capable" content="yes">
8
- <title>🕹️ Retro Arcade — Mobile Games</title>
9
- <link rel="stylesheet" href="styles.css">
10
- </head>
11
- <body>
12
- <header class="site-header">
13
- <div class="container">
14
- <div class="brand">
15
- <h1>🕹️ RETRO ARCADE</h1>
16
- <p class="tagline">Classic games you can play right in your browser</p>
17
- </div>
18
- </div>
19
- </header>
20
-
21
- <main class="container">
22
- <div class="games-grid">
23
-
24
- <div class="game-card" onclick="openGame('snake')">
25
- <div class="game-icon">🐍</div>
26
- <h2>Snake</h2>
27
- <p>The classic. Eat food, grow longer, don't hit the walls!</p>
28
- <span class="play-btn">▶ Play</span>
29
- </div>
30
-
31
- <div class="game-card" onclick="openGame('tetris')">
32
- <div class="game-icon">🧱</div>
33
- <h2>Tetris</h2>
34
- <p>Fit the falling blocks. Clear lines. Don't stack too high!</p>
35
- <span class="play-btn">▶ Play</span>
36
- </div>
37
-
38
- <div class="game-card" onclick="openGame('pong')">
39
- <div class="game-icon">🏓</div>
40
- <h2>Pong</h2>
41
- <p>The original video game. Beat the computer!</p>
42
- <span class="play-btn">▶ Play</span>
43
- </div>
44
-
45
- <div class="game-card" onclick="openGame('breakout')">
46
- <div class="game-icon">🧱</div>
47
- <h2>Breakout</h2>
48
- <p>Break all the bricks with your paddle and ball.</p>
49
- <span class="play-btn">▶ Play</span>
50
- </div>
51
-
52
- <div class="game-card" onclick="openGame('dino')">
53
- <div class="game-icon">🦕</div>
54
- <h2>Chrome Dino</h2>
55
- <p>The famous offline dinosaur game. Jump cacti!</p>
56
- <span class="play-btn">▶ Play</span>
57
- </div>
58
-
59
- <div class="game-card" onclick="openGame('invaders')">
60
- <div class="game-icon">👾</div>
61
- <h2>Space Invaders</h2>
62
- <p>Classic arcade shooter. Defend Earth from alien invasion!</p>
63
- <span class="play-btn">▶ Play</span>
64
- </div>
65
-
66
- </div>
67
- </main>
68
-
69
- <!-- Game Modal -->
70
- <div id="gameModal" class="modal">
71
- <div class="modal-content">
72
- <span class="close" onclick="closeGame()">&times;</span>
73
- <h2 id="gameTitle">Game</h2>
74
- <canvas id="gameCanvas"></canvas>
75
-
76
- <!-- Mobile Touch Controls -->
77
- <div id="mobileControls" class="mobile-controls">
78
- <!-- Snake/Tetris D-Pad -->
79
- <div id="dpad" class="dpad" style="display:none;">
80
- <div class="dpad-row">
81
- <button class="dpad-btn" id="btnUp">▲</button>
82
- </div>
83
- <div class="dpad-row">
84
- <button class="dpad-btn" id="btnLeft">◀</button>
85
- <button class="dpad-btn" id="btnDown">▼</button>
86
- <button class="dpad-btn" id="btnRight">▶</button>
87
- </div>
88
- </div>
89
-
90
- <!-- Action Buttons -->
91
- <div id="actionButtons" class="action-buttons" style="display:none;">
92
- <button class="action-btn" id="btnAction">JUMP / ACTION</button>
93
- </div>
94
-
95
- <!-- Memory Game Grid (touch areas) -->
96
- <div id="memoryTouch" class="memory-touch" style="display:none;"></div>
97
- </div>
98
-
99
- <div class="game-controls">
100
- <p id="gameInstructions">Use arrow keys to play</p>
101
- <button onclick="resetGame()">↻ Restart</button>
102
- </div>
103
- </div>
104
- </div>
105
-
106
- <footer class="site-footer">
107
- <div class="container">
108
- <p>Retro Arcade — Built with HTML5 Canvas & JavaScript</p>
109
- <p>No downloads required. Works on desktop and mobile.</p>
110
- </div>
111
- </footer>
112
-
113
- <script src="games.js?v=3"></script>
114
- </body>
115
- </html>
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
6
+ <meta name="apple-mobile-web-app-capable" content="yes">
7
+ <meta name="mobile-web-app-capable" content="yes">
8
+ <title>🕹️ Retro Arcade — Mobile Games</title>
9
+ <link rel="stylesheet" href="styles.css">
10
+ </head>
11
+ <body>
12
+ <header class="site-header">
13
+ <div class="container">
14
+ <div class="brand">
15
+ <h1>🕹️ RETRO ARCADE</h1>
16
+ <p class="tagline">Classic games you can play right in your browser</p>
17
+ </div>
18
+ </div>
19
+ </header>
20
+
21
+ <main class="container">
22
+ <div class="games-grid">
23
+
24
+ <div class="game-card" onclick="openGame('snake')">
25
+ <div class="game-icon">🐍</div>
26
+ <h2>Snake</h2>
27
+ <p>The classic. Eat food, grow longer, don't hit the walls!</p>
28
+ <span class="play-btn">▶ Play</span>
29
+ </div>
30
+
31
+ <div class="game-card" onclick="openGame('tetris')">
32
+ <div class="game-icon">🧱</div>
33
+ <h2>Tetris</h2>
34
+ <p>Fit the falling blocks. Clear lines. Don't stack too high!</p>
35
+ <span class="play-btn">▶ Play</span>
36
+ </div>
37
+
38
+ <div class="game-card" onclick="openGame('pong')">
39
+ <div class="game-icon">🏓</div>
40
+ <h2>Pong</h2>
41
+ <p>The original video game. Beat the computer!</p>
42
+ <span class="play-btn">▶ Play</span>
43
+ </div>
44
+
45
+ <div class="game-card" onclick="openGame('breakout')">
46
+ <div class="game-icon">🧱</div>
47
+ <h2>Breakout</h2>
48
+ <p>Break all the bricks with your paddle and ball.</p>
49
+ <span class="play-btn">▶ Play</span>
50
+ </div>
51
+
52
+ <div class="game-card" onclick="openGame('dino')">
53
+ <div class="game-icon">🦕</div>
54
+ <h2>Chrome Dino</h2>
55
+ <p>The famous offline dinosaur game. Jump cacti!</p>
56
+ <span class="play-btn">▶ Play</span>
57
+ </div>
58
+
59
+ <div class="game-card" onclick="openGame('invaders')">
60
+ <div class="game-icon">👾</div>
61
+ <h2>Space Invaders</h2>
62
+ <p>Classic arcade shooter. Defend Earth from alien invasion!</p>
63
+ <span class="play-btn">▶ Play</span>
64
+ </div>
65
+
66
+ <div class="game-card" onclick="openGame('chess')">
67
+ <div class="game-icon">♟️</div>
68
+ <h2>Chess</h2>
69
+ <p>Classic strategy game. Outsmart your opponent!</p>
70
+ <span class="play-btn">▶ Play</span>
71
+ </div>
72
+
73
+ </div>
74
+ </main>
75
+
76
+ <!-- Game Modal -->
77
+ <div id="gameModal" class="modal">
78
+ <div class="modal-content">
79
+ <span class="close" onclick="closeGame()">&times;</span>
80
+ <h2 id="gameTitle">Game</h2>
81
+ <canvas id="gameCanvas"></canvas>
82
+
83
+ <!-- Mobile Touch Controls -->
84
+ <div id="mobileControls" class="mobile-controls">
85
+ <!-- Snake/Tetris D-Pad -->
86
+ <div id="dpad" class="dpad" style="display:none;">
87
+ <div class="dpad-row">
88
+ <button class="dpad-btn" id="btnUp">▲</button>
89
+ </div>
90
+ <div class="dpad-row">
91
+ <button class="dpad-btn" id="btnLeft">◀</button>
92
+ <button class="dpad-btn" id="btnDown">▼</button>
93
+ <button class="dpad-btn" id="btnRight">▶</button>
94
+ </div>
95
+ </div>
96
+
97
+ <!-- Action Buttons -->
98
+ <div id="actionButtons" class="action-buttons" style="display:none;">
99
+ <button class="action-btn" id="btnAction">JUMP / ACTION</button>
100
+ </div>
101
+
102
+ <!-- Memory Game Grid (touch areas) -->
103
+ <div id="memoryTouch" class="memory-touch" style="display:none;"></div>
104
+ </div>
105
+
106
+ <div class="game-controls">
107
+ <p id="gameInstructions">Use arrow keys to play</p>
108
+ <button onclick="resetGame()">↻ Restart</button>
109
+ </div>
110
+ </div>
111
+ </div>
112
+
113
+ <footer class="site-footer">
114
+ <div class="container">
115
+ <p>Retro Arcade — Built with HTML5 Canvas & JavaScript</p>
116
+ <p>No downloads required. Works on desktop and mobile.</p>
117
+ </div>
118
+ </footer>
119
+
120
+ <script src="chess.js?v=1"></script>
121
+ <script src="games.js?v=4"></script>
122
+ </body>
123
+ </html>