Test fixture
The model receives the prompt (and optional system message). The run uses scorer singlefile_html_cdn_allowed_judged with the JSON configuration below. Pass/fail and partial credit are determined entirely by that scorer against the model output; no human grading.
Create a single-file HTML document that implements a playable Breakout / Arkanoid-style game. Requirements: (1) Return exactly ONE complete runnable HTML document and NOTHING else — no markdown fences, no commentary. (2) Start with <!DOCTYPE html> and include <html>, <head>, <body>, inline <style>, and inline <script> using requestAnimationFrame and a <canvas>. (3) Gameplay: paddle moves with both ArrowLeft/ArrowRight and mouse/touch; ball bounces off walls, paddle, and bricks; bricks disappear on hit; score counter and lives counter visible; win screen when all bricks cleared; game-over screen when lives reach 0; restart button or key. (4) Include keyboard handling with keydown/keyup listeners and proper delta-time or frame-based movement to keep gameplay smooth. (5) Use only inline CSS and inline JS; no build step. (6) You MAY load libraries from https://cdn.jsdelivr.net, https://unpkg.com, or https://cdnjs.cloudflare.com via CDN. (7) Polished UI: clear HUD, pleasant color palette, at least 4 rows of bricks with multiple colors, particle/flash feedback on brick hits. (8) No TODOs, placeholders, or lorem ipsum. Must open directly in a browser and be fully playable.
{
"min_chars": 2500,
"required_contains": [
"<canvas",
"requestAnimationFrame",
"addEventListener"
],
"requires_one_of": [
"keydown",
"keyup",
"ArrowLeft",
"ArrowRight"
],
"forbidden_contains": [
"```",
"TODO",
"lorem ipsum",
"your content here"
],
"allowed_cdn_hosts": [
"cdn.jsdelivr.net",
"unpkg.com",
"cdnjs.cloudflare.com"
],
"playwright_enabled": true,
"judge_enabled": true,
"required_selectors": [
"canvas"
],
"requires_canvas": true,
"requires_controls": true,
"viewport_width": 1280,
"viewport_height": 900,
"render_wait_ms": 2000
}temperature
0.2
max_tokens
12000
timeout (s)
240
type
scored
file
breakout_game.json