RPG
inkling · composer

Reviews & generation details
Reviews
No human review yet. Unreviewed does not mean unsuccessful.
Generation context
Imported historical artifact. Its exact original instructions and lineage are not known.
Generation prompt · exact text unavailable
See the current prompt for reference. It may differ from the instructions used to generate this artifact.
Inspect original source 5,922 bytes · SHA-256 6e4d96e32a2e
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Echoes of the Hollow — Action Adventure RPG</title>
<style>
/* ── css: layout ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #1a1520; overflow: hidden; font-family: 'Georgia', serif; color: #e8dcc8; }
#app { width: 100vw; height: 100vh; position: relative; }
#game-canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
#hud { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; }
.hud-top { display: flex; justify-content: space-between; align-items: flex-start; }
.hud-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.hud-card { background: rgba(20, 14, 30, 0.85); border: 2px solid #6b4a6b; border-radius: 10px; padding: 10px 16px; backdrop-filter: blur(4px); box-shadow: 0 4px 16px rgba(107, 74, 107, 0.4); }
#health-area { display: flex; gap: 6px; align-items: center; }
.heart { width: 28px; height: 26px; position: relative; }
.heart::before, .heart::after { content: ''; position: absolute; width: 14px; height: 22px; background: #c44; border-radius: 14px 14px 0 0; top: 0; }
.heart::before { left: 0; transform: rotate(-45deg); transform-origin: 100% 50%; }
.heart::after { right: 0; transform: rotate(45deg); transform-origin: 0% 50%; }
.heart.empty { opacity: 0.25; filter: grayscale(1); }
.heart.half::before { background: linear-gradient(to bottom, #c44 50%, #333 50%); }
#inventory { display: flex; gap: 6px; flex-wrap: wrap; max-width: 260px; }
.inv-slot { width: 32px; height: 32px; background: rgba(107, 74, 107, 0.35); border: 2px solid #6b4a6b; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
#money-display { font-size: 18px; color: #e8c86b; letter-spacing: 1px; font-weight: bold; text-shadow: 0 0 6px rgba(232, 200, 107, 0.5); }
#weapon-display { font-size: 12px; color: #8aa; text-align: center; }
#save-indicator { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); background: rgba(20, 14, 30, 0.9); border: 2px solid #3a7a5e; border-radius: 20px; padding: 6px 14px; color: #6ec8a6; font-size: 12px; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
#save-indicator.show { opacity: 1; }
#shop-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(15, 10, 25, 0.95); border: 3px solid #8a6e8a; border-radius: 16px; padding: 24px 32px; width: 380px; max-height: 80vh; overflow-y: auto; pointer-events: auto; box-shadow: 0 12px 40px rgba(0,0,0,0.6); display: none; }
#shop-overlay.open { display: block; }
.shop-title { font-size: 22px; color: #d4a; text-align: center; margin-bottom: 12px; border-bottom: 2px solid #6b4a6b; padding-bottom: 8px; }
.shop-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-bottom: 1px solid rgba(138, 106, 138, 0.3); cursor: pointer; border-radius: 6px; transition: background 0.15s; }
.shop-item:hover { background: rgba(107, 74, 107, 0.35); }
.shop-item .item-icon { width: 28px; height: 28px; background: #555; border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.shop-item .item-info { flex: 1; }
.shop-item .item-price { color: #e8c86b; font-weight: bold; }
#interaction-hint { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(20, 14, 30, 0.9); border: 2px solid #8a6e8a; padding: 14px 24px; border-radius: 12px; pointer-events: none; opacity: 0; transition: opacity 0.2s; text-align: center; font-size: 16px; }
#interaction-hint.show { opacity: 1; }
#win-screen { position: absolute; inset: 0; background: rgba(10, 5, 15, 0.92); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 50; display: none; }
#win-screen.active { display: flex; }
.win-title { font-size: 48px; color: #e8dcc8; text-shadow: 0 4px 20px rgba(138, 170, 138, 0.6); margin-bottom: 20px; }
.win-sub { font-size: 20px; color: #aab; margin-bottom: 30px; }
.win-btn { padding: 14px 30px; background: linear-gradient(135deg, #6b4a6b, #8a6e8a); border: 2px solid #b089b0; border-radius: 8px; color: #fff; font-size: 18px; cursor: pointer; transition: transform 0.1s; }
.win-btn:hover { transform: scale(1.05); }
#tutorial { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(20, 12, 30, 0.95); border: 3px solid #6b8a6b; border-radius: 14px; padding: 28px 36px; max-width: 420px; text-align: center; pointer-events: auto; }
#tutorial h2 { color: #8cc88a; margin-bottom: 12px; font-size: 24px; }
#tutorial p { margin: 6px 0; color: #ccc8c0; line-height: 1.5; }
#tutorial button { margin-top: 16px; padding: 10px 24px; background: #6b8a6b; border: none; border-radius: 6px; color: #fff; font-size: 16px; cursor: pointer; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
@keyframes floatUp { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-30px); opacity: 0; } }
@keyframes shake { 0%, 100% { transform: translate(0); } 20% { transform: translate(-4px, 2px); } 40% { transform: translate(4px, -2px); } 60% { transform: translate(-3px, -1px); } 80% { transform: translate(2px, 1px); } }
.particle { position: absolute; pointer-events: none; will-change: transform, opacity; }
</style>
</head>
<body>
<div id="app"></div>
<script>
'use strict';
</script>
</body>
</html>
<!-- agent-meta {"model":"thinkingmachines/inkling","provider":"openrouter","persona":"composer","sessionId":"5b597552-909d-4e15-988d-b7121bf3f424","tokensIn":82732,"tokensOut":3517,"tokensTotal":86249,"turns":13,"toolCalls":12,"failedToolCalls":8,"timestamp":"2026-07-18T20:17:06.690Z"} -->