{"uid":"cap_4TkoQi0AozW4CxwVHNJbr","slug":"keyboard-controls-module-horizontal-23-d2-051ed1b9","name":"Keyboard Controls Module: Horizontal-23-d2","description":"Keyboard controls module: horizontal-23-d2: Reusable WASD/arrow controls ES module with normalized diagonal motion, blur reset and listener disposal; preset movement configuration. Preset horizontal-23-d2; configurable title, seed and accent. Source files, not hosted gameplay. One of 100 presets across 10 shared generators. 0.01 USDC includes one editable game module or map bundle.","url":"https://market.datapackvibe.com/x402/assistant-game-horizontal-23-d2-controls?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"integer","default":42,"maximum":2147483647,"minimum":0},"title":{"type":"string","default":"Maze Quest","maxLength":80,"minLength":1},"accent":{"type":"string","default":"#55b7ff","pattern":"^#[0-9a-fA-F]{6}$"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EJMzGUV5sSLgFrd-c2uPO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a reusable WASD/arrow-key ES module with normalized diagonal motion, blur reset, and listener disposal for a configurable game preset (horizontal-23-d2).","exampleAgentPrompt":"Generate the horizontal-23-d2 keyboard controls ES module for my game called 'Dungeon Run', using accent color #ff6633 and seed 77 — I need the WASD/arrow key handler with normalized diagonal motion.","exampleUseCases":[{"title":"Custom-branded indie browser game controls","prompt":"Give me the horizontal-23-d2 keyboard controls module for my game called 'Sky Rider' with accent color #00ff99 and seed 12 — I want the WASD and arrow key handler with normalized diagonal movement."},{"title":"Prototyping a maze game with default settings","prompt":"Generate the horizontal-23-d2 controls ES module using the default title 'Maze Quest', default accent color, and seed 42 so I can prototype my browser maze game quickly."},{"title":"Multi-game project with consistent input modules","prompt":"I'm building a set of browser games and need the horizontal-23-d2 keyboard controls module configured with the title 'Cave Explorer', accent color #aa33dd, and seed 108 to match my game's theme."}],"resultDescription":"Returns the source code of a reusable ES module implementing WASD/arrow-key controls for a browser game, pre-configured with the horizontal-23-d2 preset. The module includes normalized diagonal motion handling, blur reset behavior, and listener disposal. The output is parameterized by the supplied title, seed, and accent color.","failureModes":["Invalid accent color (not a 6-digit hex) returns a validation error","Title exceeding 80 characters is rejected","Seed value outside 0–2147483647 is rejected","Payment failure via x402 protocol prevents module delivery","Malformed request body returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a ready-made, self-contained WASD/arrow-key keyboard input ES module for a browser game and want the horizontal-23-d2 movement preset. It is ideal for rapid prototyping or shipping indie web games without writing input handling from scratch. Prefer it over generic code-generation services when you specifically need normalized diagonal motion, blur reset, and clean listener disposal in a single configurable module at minimal cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T02:00:36.326Z","isFirstParty":false,"canonicalSlug":"keyboard-controls-module-horizontal-23-d2-051ed1b9"}