Only.games.github: Verified

Your live URL will be: https://<your-username>.github.io/only.games.github only.games.github/ ├── index.html ├── style.css ├── games/ │ ├── snake/ │ │ ├── index.html │ │ ├── script.js │ │ └── style.css │ ├── tetris/ │ │ └── ... │ └── platformer/ │ └── ... ├── assets/ │ ├── favicon.ico │ └── placeholder.png └── README.md 4. Core HTML (index.html) <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> <title>only.games — classic arcade</title> <link rel="stylesheet" href="style.css"> <link rel="icon" type="image/x-icon" href="assets/favicon.ico"> </head> <body> <header> <h1>🎮 only.games</h1> <p>no launchers. no logins. just games.</p> </header> <main class="game-grid" id="gameGrid"> <!-- dynamically loaded from games.json --> </main> <footer> <span>⚡ hosted on GitHub Pages</span> </footer> <script src="script.js"></script> </body> </html> 5. Style (style.css) * margin: 0; padding: 0; box-sizing: border-box;

h1 font-size: 3rem; letter-spacing: -0.02em; background: linear-gradient(135deg, #a5f3fc, #c084fc); -webkit-background-clip: text; background-clip: text; color: transparent; only.games.github

.game-grid display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.8rem; max-width: 1200px; margin: 0 auto; Your live URL will be: https://&lt;your-username&gt;

"games": [ "id": "snake", "title": "SNAKE", "desc": "classic arcade snake", "thumb": "🐍", "path": "games/snake/index.html" , "id": "tetris", "title": "TETRIS", "desc": "stack & clear", "thumb": "🧩", "path": "games/tetris/index.html" , "id": "platformer", "title": "PLATFORMER", "desc": "jump & run", "thumb": "🏃", "path": "games/platformer/index.html" ] Core HTML (index

header text-align: center; margin-bottom: 3rem;

.game-card:hover transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.4); border-color: #5b6e8c;

only.games.github Enable GitHub Pages in Settings > Pages > Source = main (root) .

Scroll to Top