Support Groundbreaking Reporting on Women
Donate

Only.games.github ⟶

.game-title font-size: 1.3rem; font-weight: 600; margin: 0.75rem 0 0.25rem;

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

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; ├── assets/ │ ├── favicon

body font-family: system-ui, 'Segoe UI', monospace; background: #0a0f1e; color: #eef4ff; padding: 2rem; min-height: 100vh; just games

"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" ]

Create games.json in the root: