98 lines
5.3 KiB
HTML
98 lines
5.3 KiB
HTML
<!doctype html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<title>JumPHP runtime - example game – Retro game, play free online</title>
|
||
<meta name="description" content="The example game of the JumPHP runtime engine extension">
|
||
<link rel="canonical" href="https://{{DOMAIN}}/">
|
||
<link rel="icon" href="images/favicon.png">
|
||
<meta property="og:type" content="website">
|
||
<meta property="og:title" content="JumPHP runtime - example game">
|
||
<meta property="og:description" content="The example game of the JumPHP runtime engine extension">
|
||
<meta property="og:url" content="https://{{DOMAIN}}/">
|
||
<meta property="og:image" content="https://{{DOMAIN}}/images/og.png">
|
||
<meta property="og:locale" content="en">
|
||
<meta name="twitter:card" content="summary_large_image">
|
||
<meta name="twitter:title" content="JumPHP runtime - example game">
|
||
<meta name="twitter:description" content="The example game of the JumPHP runtime engine extension">
|
||
<meta name="twitter:image" content="https://{{DOMAIN}}/images/og.png">
|
||
<script type="application/ld+json">
|
||
{
|
||
"@context": "https://schema.org",
|
||
"@type": "VideoGame",
|
||
"name": "JumPHP runtime - example game",
|
||
"description": "The example game of the JumPHP runtime engine extension",
|
||
"url": "https://{{DOMAIN}}/",
|
||
"genre": "Retro game",
|
||
"gamePlatform": [
|
||
"Web browser",
|
||
"PC",
|
||
"Mobile"
|
||
],
|
||
"applicationCategory": "Game",
|
||
"operatingSystem": "Any",
|
||
"image": "https://{{DOMAIN}}/images/og.png",
|
||
"screenshot": [
|
||
"https://{{DOMAIN}}/images/shot-1.png",
|
||
"https://{{DOMAIN}}/images/shot-2.png",
|
||
"https://{{DOMAIN}}/images/shot-3.png",
|
||
"https://{{DOMAIN}}/images/shot-4.png"
|
||
],
|
||
"isAccessibleForFree": true,
|
||
"inLanguage": "en",
|
||
"potentialAction": {
|
||
"@type": "PlayAction",
|
||
"target": "https://{{DOMAIN}}/play/"
|
||
}
|
||
}
|
||
</script>
|
||
<style>
|
||
:root { --bg: #0d0f1a; --panel: #171a2b; --text: #eef0ff; --muted: #a7acc9; --accent: #ffcc33; }
|
||
* { box-sizing: border-box; }
|
||
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
|
||
main { max-width: 1000px; margin: 0 auto; padding: 32px 16px 64px; }
|
||
header { text-align: center; padding: 24px 0 8px; }
|
||
h1 { font-size: clamp(32px, 7vw, 56px); margin: 0 0 8px; letter-spacing: 2px; }
|
||
h2 { margin: 48px 0 12px; font-size: 24px; }
|
||
p, li { color: var(--muted); }
|
||
.play { display: inline-block; margin: 20px 0; padding: 16px 40px; border-radius: 12px; background: var(--accent); color: #111;
|
||
font-weight: 800; font-size: 22px; text-decoration: none; box-shadow: 0 6px 0 #b38b00; }
|
||
.play:active { transform: translateY(4px); box-shadow: 0 2px 0 #b38b00; }
|
||
.hero img, .gallery img { width: 100%; height: auto; image-rendering: pixelated; border-radius: 10px; display: block; background: #000; }
|
||
.hero { margin-top: 16px; }
|
||
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
|
||
footer { text-align: center; color: var(--muted); font-size: 14px; margin-top: 56px; }
|
||
a { color: var(--accent); }
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<main>
|
||
<header>
|
||
<h1>JumPHP runtime - example game</h1>
|
||
<p>The example game of the JumPHP runtime engine extension</p>
|
||
<a class="play" href="play/">▶ Play</a>
|
||
</header>
|
||
<div class="hero"><img src="images/shot-4.png" alt="Screenshot of the game JumPHP runtime - example game" width="1400" height="1520"></div>
|
||
<section>
|
||
<h2>The game</h2>
|
||
<p>The JumPHP runtime in the browser: use the user's own computer and network for TCP, SSH, UDP and ping, with their consent (client, status badge and install guide).</p><p>This is the example game of the <b>Runtime</b> engine extension of JumPHP: it runs in your browser, nothing to install.</p>
|
||
</section>
|
||
<section>
|
||
<h2>What to try</h2>
|
||
<ul><li>The runtime badge in each state: green, orange, red, grey.</li><li>The install guide: download, install, start, allow, then it turns green by itself.</li><li>Space changes the runtime state: what auto, server and local connect to.</li><li>Keyboard: Enter, Space or the mouse. Gamepad: A. Phone: tap the screen.</li></ul><p>Use it in your own game: <a href="https://jumphp.net/extensions/jumphp/runtime/tutoriel">tutorial, step by step</a> · <a href="https://jumphp.net/extensions/jumphp/runtime/documentation">documentation</a> · <code>bin/jumphp extension:add <game> jumphp/runtime</code></p>
|
||
</section>
|
||
<section>
|
||
<h2>Screenshots</h2>
|
||
<div class="gallery">
|
||
<img src="images/shot-1.png" alt="Screenshot of the game JumPHP runtime - example game 1" width="1400" height="1520" loading="lazy">
|
||
<img src="images/shot-2.png" alt="Screenshot of the game JumPHP runtime - example game 2" width="1400" height="1520" loading="lazy">
|
||
<img src="images/shot-3.png" alt="Screenshot of the game JumPHP runtime - example game 3" width="1400" height="1520" loading="lazy">
|
||
<img src="images/shot-4.png" alt="Screenshot of the game JumPHP runtime - example game 4" width="1400" height="1520" loading="lazy">
|
||
</div>
|
||
</section>
|
||
<p style="text-align: center"><a class="play" href="play/">▶ Start the game</a></p>
|
||
<footer>Made in PHP with JumPHP.</footer>
|
||
</main>
|
||
</body>
|
||
</html>
|