<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Murad</title>
    <description>The latest articles on DEV Community by Murad (@mooradxo).</description>
    <link>https://dev.to/mooradxo</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4166439%2F058e3c2c-b272-4bcf-834d-247dac2413cc.png</url>
      <title>DEV Community: Murad</title>
      <link>https://dev.to/mooradxo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mooradxo"/>
    <language>en</language>
    <item>
      <title>First 13 Hours Live: 1M Requests, 280k Shots, a Multi-Tab Bot Farm &amp; Shipping Dark Mode Zero-Downtime</title>
      <dc:creator>Murad</dc:creator>
      <pubDate>Tue, 01 Dec 2026 08:16:48 +0000</pubDate>
      <link>https://dev.to/mooradxo/first-13-hours-live-1m-requests-280k-shots-a-multi-tab-bot-farm-shipping-dark-mode-1b48</link>
      <guid>https://dev.to/mooradxo/first-13-hours-live-1m-requests-280k-shots-a-multi-tab-bot-farm-shipping-dark-mode-1b48</guid>
      <description>&lt;p&gt;Yesterday I launched &lt;strong&gt;&lt;a href="https://onelastgap.com" rel="noopener noreferrer"&gt;One Last Gap&lt;/a&gt;&lt;/strong&gt;, a free browser skill arcade where a &lt;code&gt;3.200 mm&lt;/code&gt; ball has to thread a &lt;code&gt;3.205 mm&lt;/code&gt; (&lt;code&gt;+0.005 mm&lt;/code&gt;) top gap twice without dropping to win a verified &lt;strong&gt;$100&lt;/strong&gt; prize.&lt;/p&gt;

&lt;p&gt;After a couple of Reddit posts caught fire overnight, I woke up to our first real production stress test. Here is what happened in the first 13 hours, what broke (and what didn't), and what I shipped live in response.&lt;/p&gt;




&lt;h2&gt;
  
  
  The First 13 Hours in Real Numbers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Total HTTP requests:&lt;/strong&gt; &lt;code&gt;1,094,667&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live human players:&lt;/strong&gt; &lt;code&gt;2,200+&lt;/code&gt; (split almost 50/50 between mobile and desktop)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Peak concurrent sessions:&lt;/strong&gt; &lt;code&gt;80&lt;/code&gt; (&lt;code&gt;260 req/s&lt;/code&gt; peak)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Roof shots fired:&lt;/strong&gt; &lt;code&gt;280,000+&lt;/code&gt; (and climbing fast)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Closest miss recorded:&lt;/strong&gt; &lt;code&gt;0.001 mm&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real Hit #1 glass shatters:&lt;/strong&gt; &lt;code&gt;~27&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full &lt;code&gt;2/2&lt;/code&gt; verified wins:&lt;/strong&gt; &lt;code&gt;0&lt;/code&gt; (the &lt;strong&gt;$100&lt;/strong&gt; prize is still OPEN)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Server &lt;code&gt;500&lt;/code&gt; errors / crashes:&lt;/strong&gt; &lt;code&gt;0&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backend footprint under live load:&lt;/strong&gt; &lt;code&gt;~1.1% CPU&lt;/code&gt;, &lt;code&gt;~42-78 MiB RAM&lt;/code&gt; on Node.js 24 stdlib + built-in SQLite WAL&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Seeing zero crashes across a million requests on a single small VPS felt great. Even better: real players immediately surfaced edge cases that synthetic tests never fully replicate.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Real Traffic Found (And How We Fixed It Live)
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. A Multi-Tab Bot Farm Hit Us on Night One
&lt;/h3&gt;

&lt;p&gt;Within hours of the post going up, telemetry caught a single IP spinning up dozens of parallel automated sessions trying to brute-force the &lt;code&gt;$100&lt;/code&gt; prize.&lt;/p&gt;

&lt;p&gt;Cloudflare Managed Turnstile already blocked &lt;strong&gt;3,900+ automated session attempts&lt;/strong&gt; at the door, and the &lt;code&gt;+-0.35 deg&lt;/code&gt; SHA-256 Commit-Reveal kept the prize completely safe. Still, we tightened parallel active-session controls and added behavioral replay heuristics so multi-tab farming gets shut down even earlier.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Long Sessions Hit &lt;code&gt;HTTP 413&lt;/code&gt; on &lt;code&gt;/api/verify&lt;/code&gt; -&amp;gt; Solved with &lt;code&gt;CompressionStream&lt;/code&gt; + 18x Faster Verifier
&lt;/h3&gt;

&lt;p&gt;A few 40+ minute marathon sessions produced raw JSON replays larger than Nginx's default 3 MB upload limit (&lt;code&gt;51&lt;/code&gt; requests hit &lt;code&gt;413&lt;/code&gt;).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Client fix:&lt;/strong&gt; compress replay payloads natively with &lt;code&gt;CompressionStream('gzip')&lt;/code&gt; before upload (&lt;code&gt;Content-Encoding: gzip&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Server fix:&lt;/strong&gt; decompress via &lt;code&gt;node:zlib&lt;/code&gt; with strict zip-bomb bounds, and switch server-side SHA-256 commitment verification to native &lt;code&gt;node:crypto&lt;/code&gt; with an incremental byte buffer (&lt;code&gt;O(E)&lt;/code&gt; instead of &lt;code&gt;O(T * E)&lt;/code&gt;), making full replay verification &lt;strong&gt;18x faster&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Main-Thread Stutters on iPhone -&amp;gt; Hardware &lt;code&gt;crypto.subtle&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;A couple of iOS players noticed brief frame hitches right after shot commits. Synchronous JS SHA-256 hashing on long input histories was blocking Safari's main thread for a few milliseconds.&lt;/p&gt;

&lt;p&gt;Switching &lt;code&gt;ReplayRecorder&lt;/code&gt; to an incremental byte buffer hashed asynchronously with hardware &lt;strong&gt;&lt;code&gt;crypto.subtle.digest('SHA-256')&lt;/code&gt;&lt;/strong&gt; preserved the exact bit-for-bit commitment format while dropping main-thread cost to &lt;code&gt;0 ms&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Real Player Feedback: Mouse Feel, &lt;code&gt;0.001 mm&lt;/code&gt; Precision &amp;amp; Dark Mode
&lt;/h3&gt;

&lt;p&gt;Players on Reddit gave super actionable UX feedback:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Mouse feel:&lt;/strong&gt; moved pointer tracking to &lt;code&gt;window&lt;/code&gt; (so moving outside the narrow 9:16 canvas never loses the paddle), restored the visible cursor, and raised paddle responsiveness while preserving spin physics.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;0.001 mm&lt;/code&gt; precision:&lt;/strong&gt; players pushed &lt;code&gt;GLOBAL CLOSEST&lt;/code&gt; all the way down to &lt;code&gt;0.01 mm&lt;/code&gt; overnight, so we upgraded display and storage precision to 3 decimal places (&lt;code&gt;0.001 mm&lt;/code&gt;) - and someone already landed &lt;code&gt;0.001 mm&lt;/code&gt;!&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dark Mode (shipped with zero downtime!):&lt;/strong&gt; added a sun/moon toggle with a full dark inversion of our &lt;em&gt;Warm Paper Toy&lt;/em&gt; palette (matte dark graphite arena, warm cream vault &amp;amp; paddle, adapted impact sparks/ripples/glass shards, and zero-FOUC inline theme script). Because the backend runs in its own Docker container, we rebuilt and swapped &lt;strong&gt;only the Nginx frontend container&lt;/strong&gt; with zero dropped player sessions.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Try the Updated Version
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Play free in your browser (desktop &amp;amp; mobile, zero ads, zero login):&lt;/strong&gt; &lt;a href="https://onelastgap.com" rel="noopener noreferrer"&gt;https://onelastgap.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;itch.io:&lt;/strong&gt; &lt;a href="https://mooradxo.itch.io/one-last-gap" rel="noopener noreferrer"&gt;https://mooradxo.itch.io/one-last-gap&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;280,000+ shots in, ~27 glass shatters, &lt;code&gt;0.001 mm&lt;/code&gt; closest miss, and still &lt;strong&gt;0&lt;/strong&gt; winners. Let me know how Dark Mode and the new mouse tracking feel - and drop your closest miss down to &lt;code&gt;0.001 mm&lt;/code&gt;!&lt;/p&gt;

</description>
      <category>gamedev</category>
      <category>webdev</category>
      <category>node</category>
      <category>security</category>
    </item>
    <item>
      <title>How I Built a Zero-Lag Anti-Cheat for a $100 Browser Game (120 Hz Determinism + SHA-256 Commit-Reveal)</title>
      <dc:creator>Murad</dc:creator>
      <pubDate>Mon, 30 Nov 2026 17:35:59 +0000</pubDate>
      <link>https://dev.to/mooradxo/how-i-built-a-zero-lag-anti-cheat-for-a-100-browser-game-120-hz-determinism-sha-256-2opg</link>
      <guid>https://dev.to/mooradxo/how-i-built-a-zero-lag-anti-cheat-for-a-100-browser-game-120-hz-determinism-sha-256-2opg</guid>
      <description>&lt;p&gt;If you put a real &lt;strong&gt;$100 prize&lt;/strong&gt; inside an HTML5 Canvas browser game, you don't have to wonder &lt;em&gt;if&lt;/em&gt; someone will open DevTools and try to break it — you only have to wonder how many minutes it will take.&lt;/p&gt;

&lt;p&gt;I just launched &lt;strong&gt;&lt;a href="https://onelastgap.com" rel="noopener noreferrer"&gt;One Last Gap&lt;/a&gt;&lt;/strong&gt; — a free, zero-ads, zero-login browser skill arcade built solo with TypeScript, Canvas 2D, and a zero-dependency Node.js backend.&lt;/p&gt;

&lt;p&gt;The premise takes one second to understand:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Inside a suspended vault sits a &lt;strong&gt;$100&lt;/strong&gt; bill.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ball diameter:&lt;/strong&gt; &lt;code&gt;3.200 mm&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Top gap width:&lt;/strong&gt; &lt;code&gt;3.205 mm&lt;/code&gt; (&lt;strong&gt;&lt;code&gt;+0.005 mm&lt;/code&gt;&lt;/strong&gt; real clearance)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hit #1 (&lt;code&gt;1/2&lt;/code&gt;):&lt;/strong&gt; Ricochet off the ceiling into the gap to shatter the glass seal and bounce back out into play.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hit #2 (&lt;code&gt;2/2&lt;/code&gt;):&lt;/strong&gt; Without dropping the ball, thread the open tunnel a second time to strike the &lt;strong&gt;$100&lt;/strong&gt; bill. First verified human player wins it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/cKtpcJyfjqg" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Making a game like this feel crisp on both desktop and mobile is one problem. Making a &lt;strong&gt;client-side browser game with a cash prize cheat-resistant without adding network lag&lt;/strong&gt; is a much more interesting engineering problem.&lt;/p&gt;

&lt;p&gt;Here is how I designed the physics determinism, the SHA-256 Commit-Reveal anti-cheat, and the server-side replay verifier.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Naive Approaches Break Immediately
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;"Trust the client (&lt;code&gt;POST /api/win&lt;/code&gt;)"&lt;/strong&gt; — broken in 5 seconds via &lt;code&gt;curl&lt;/code&gt; or DevTools.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"Run physics exclusively on the server and stream positions over WebSockets"&lt;/strong&gt; — kills arcade game feel. Even 60–120 ms of round-trip jitter makes a millimeter-precision paddle game feel muddy on mobile networks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"Just send the replay to the server and re-simulate it"&lt;/strong&gt; — &lt;em&gt;necessary&lt;/em&gt;, but &lt;strong&gt;not sufficient&lt;/strong&gt;! If the entire physics loop is 100% deterministic and predictable in advance, an attacker can write a DevTools aimbot that calculates the exact paddle offset to thread a &lt;code&gt;+0.005 mm&lt;/code&gt; gap on the very first shot.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So the design goal became:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;0 ms input latency on the client + 100% server-authoritative verification + mathematically un-aimbottable trajectories.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Layer 1: Bit-Identical 120 Hz Determinism Across Safari, Chrome, and Node.js
&lt;/h2&gt;

&lt;p&gt;Both the browser client and the Node.js verification server execute the &lt;strong&gt;exact same physics module&lt;/strong&gt; (&lt;code&gt;shared/physics.ts&lt;/code&gt;).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Fixed timestep:&lt;/strong&gt; &lt;code&gt;FIXED_DT = 1 / 120&lt;/code&gt; s (&lt;code&gt;120 Hz&lt;/code&gt;), decoupled from display refresh rates (&lt;code&gt;60 / 120 / 240 Hz&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Continuous collision detection:&lt;/strong&gt; custom swept circle-vs-AABB faces + 4 corner circles (up to 8 substeps per tick). At &lt;code&gt;1180 u/s&lt;/code&gt; against a &lt;code&gt;+0.005 mm&lt;/code&gt; gap, discrete frame checks would tunnel or clip inconsistently.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Equalizing mouse and touch:&lt;/strong&gt; paddle inputs are quantized to &lt;code&gt;0.5 u&lt;/code&gt; increments and clamped to &lt;code&gt;MAX_PADDLE_SPEED = 1700 u/s&lt;/code&gt;, preventing instant teleportation.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The Subtle Cross-Engine Trap: 1-ULP Floating-Point Drift
&lt;/h3&gt;

&lt;p&gt;When you replay 20,000+ ticks on a Linux Node.js (V8) server from inputs recorded on an iPhone (Safari / JavaScriptCore), tiny &lt;code&gt;1e-16&lt;/code&gt; ULP differences in &lt;code&gt;Math.sin&lt;/code&gt; / &lt;code&gt;Math.cos&lt;/code&gt; eventually diverge into a completely different bounce trajectory.&lt;/p&gt;

&lt;p&gt;To keep replays bit-identical across JavaScriptCore, SpiderMonkey, and V8, velocity vectors are deterministically quantized to &lt;code&gt;1e-6&lt;/code&gt; after trigonometric bounces:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;quantizeFloat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;round&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mf"&gt;1e6&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mf"&gt;1e6&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With that in place, 600-tick and multi-minute replays match bit-for-bit across devices and the server.&lt;/p&gt;




&lt;h2&gt;
  
  
  Layer 2: Killing the God-Mode Aimbot with Zero Lag (SHA-256 Commit-Reveal)
&lt;/h2&gt;

&lt;p&gt;Here is the core trick that prevents offline aimbots while keeping client responsiveness at &lt;strong&gt;0 ms&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The moment the player strikes the ball upward (&lt;code&gt;launch&lt;/code&gt;, &lt;code&gt;paddle_hit&lt;/code&gt;, or &lt;code&gt;glass_cracked&lt;/code&gt;), the ball takes &lt;strong&gt;~500 ms&lt;/strong&gt; to travel up a side corridor to the top ceiling.&lt;/li&gt;
&lt;li&gt;At that exact commit tick, the client computes a synchronous &lt;strong&gt;SHA-256 hash&lt;/strong&gt; of all session inputs recorded up to &lt;code&gt;commitTick&lt;/code&gt; and asynchronously sends &lt;code&gt;{ sessionId, commitTick, inputsHash }&lt;/code&gt; to &lt;code&gt;POST /api/ceiling-token&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The server checks that &lt;code&gt;commitTick&lt;/code&gt; is strictly increasing, generates a cryptographically random micro-angle &lt;code&gt;deg&lt;/code&gt; in &lt;strong&gt;&lt;code&gt;[-0.35°, +0.35°]&lt;/code&gt;&lt;/strong&gt;, and signs it with &lt;strong&gt;&lt;code&gt;HMAC-SHA256(sessionId : seq : commitTick : inputsHash : deg)&lt;/code&gt;&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;The token arrives in ~30–100 ms — long before the ball touches the ceiling — so the player experiences &lt;strong&gt;zero lag&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;When the ball hits the top ceiling, that server-signed &lt;code&gt;deg&lt;/code&gt; rotates the reflection vector slightly.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Why &lt;code&gt;±0.35°&lt;/code&gt; Is the Sweet Spot
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;For a human player:&lt;/strong&gt; &lt;code&gt;±0.35°&lt;/code&gt; shifts the landing point on the vault roof by at most &lt;strong&gt;&lt;code&gt;±0.22 mm&lt;/code&gt;&lt;/strong&gt; (~2 pixels on a phone screen). Human hands cannot perceive or control that granularity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;For a theoretical 100%-omniscient God-mode aimbot:&lt;/strong&gt; because the angle is cryptographically unknown until &lt;em&gt;after&lt;/em&gt; the paddle commits the shot, I tested an omniscient solver against it (&lt;code&gt;test:aimbot&lt;/code&gt;):

&lt;ul&gt;
&lt;li&gt;Without Commit-Reveal (&lt;code&gt;0.00°&lt;/code&gt;): &lt;strong&gt;100.0%&lt;/strong&gt; hit rate on every shot.&lt;/li&gt;
&lt;li&gt;With Commit-Reveal (&lt;code&gt;±0.35°&lt;/code&gt;): drops to &lt;strong&gt;~1.0–1.5%&lt;/strong&gt; per shot — and &lt;strong&gt;~1 in 5,000 to 9,600&lt;/strong&gt; for two consecutive hits (&lt;code&gt;2/2&lt;/code&gt;) without dropping.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No pre-fetching or retroactive editing:&lt;/strong&gt; changing even 1 tick of paddle movement before &lt;code&gt;commitTick&lt;/code&gt; invalidates the SHA-256 &lt;code&gt;inputsHash&lt;/code&gt;, and hitting the paddle &lt;em&gt;after&lt;/em&gt; &lt;code&gt;commitTick&lt;/code&gt; breaks the verifier's &lt;code&gt;lastPaddleHitTick &amp;lt;= token.commitTick&lt;/code&gt; invariant.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Layer 3: Hardening the Verifier Itself
&lt;/h2&gt;

&lt;p&gt;During security self-auditing, several nasty edge cases showed up — and fixing them was half the fun:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Preventing Quadratic SHA-256 CPU DoS:&lt;/strong&gt;
If a verifier blindly recomputes SHA-256 commitments over a forged 30,000-event replay, an attacker can stall your Node event loop. By validating the &lt;strong&gt;O(1) HMAC signature&lt;/strong&gt; and server-issued token registry &lt;em&gt;before&lt;/em&gt; computing any SHA-256 hashes, a forged 30,000-event payload gets rejected in &lt;strong&gt;1.6 ms&lt;/strong&gt; instead of seconds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Blocking Offline Synthesis (&lt;code&gt;POST /api/checkpoint&lt;/code&gt;):&lt;/strong&gt;
When Hit #1 shatters the glass, the client reports a live one-time checkpoint to the server (&lt;code&gt;tick &amp;gt;= lastCommitTick&lt;/code&gt;, non-overwritable). Combined with real-time wall-clock checks, an attacker cannot synthesize a fake replay offline and upload it later.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Anti-Slow-Mo Without Punishing Mobile Disconnects:&lt;/strong&gt;
Measuring slow-motion strictly against the arrival time of &lt;code&gt;POST /api/verify&lt;/code&gt; creates a false positive if an honest winner's mobile network drops for 30 seconds before hitting &lt;em&gt;Retry Verification&lt;/em&gt;. Instead, the verifier measures the &lt;code&gt;ONE LAST&lt;/code&gt; phase against the server timestamp of the &lt;strong&gt;last signed ceiling token&lt;/strong&gt; — blocking 5×–6× debugger slow-motion while letting honest network retries succeed cleanly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Backend Supply-Chain Surface:&lt;/strong&gt;
The entire backend runs on &lt;strong&gt;Node.js 24 stdlib only&lt;/strong&gt; (&lt;code&gt;node:http&lt;/code&gt;, &lt;code&gt;node:crypto&lt;/code&gt;, built-in &lt;code&gt;node:sqlite&lt;/code&gt; in WAL mode with &lt;code&gt;synchronous=FULL&lt;/code&gt;) — zero external npm packages on the server.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Proving the Gap Isn't Rigged (500 Hours + 200,000 Shots)
&lt;/h2&gt;

&lt;p&gt;With a &lt;code&gt;+0.005 mm&lt;/code&gt; gap, the #1 question players ask is: &lt;em&gt;"Is this actually possible, or is it a rigged scam?"&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Before launching, I calibrated the exact geometry across &lt;strong&gt;500 hours of real 120 Hz AI simulation&lt;/strong&gt; (&lt;code&gt;436,116&lt;/code&gt; roof impacts) plus &lt;strong&gt;200,000 targeted Monte Carlo shots&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;500-hour 120 Hz simulation:&lt;/strong&gt; &lt;code&gt;28&lt;/code&gt; legitimate Hit #1 glass shatters (&lt;code&gt;~1 in 15,576&lt;/code&gt; roof impacts).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;200,000 targeted Monte Carlo shots:&lt;/strong&gt; &lt;code&gt;42&lt;/code&gt; Hit #1 entries (&lt;code&gt;~1 in 4,762&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Hard enough to survive viral traffic, mathematically proven solvable, and never rigged.&lt;/p&gt;




&lt;h2&gt;
  
  
  An Honest Threat Model
&lt;/h2&gt;

&lt;p&gt;No browser game is 100% theoretically unbreakable. A determined attacker could still compile a custom Chromium binary to spoof input events and run a real-time 1× bot 24/7. Even then, the &lt;code&gt;±0.35°&lt;/code&gt; Commit-Reveal forces hundreds of hours of real-time runtime per instance, and every first verified win atomically locks the prize for a &lt;strong&gt;manual visual replay audit&lt;/strong&gt; (inspecting the paddle trajectory curve and timing telemetry) before the &lt;code&gt;$100&lt;/code&gt; payout is sent.&lt;/p&gt;




&lt;h2&gt;
  
  
  Try It (Or Try to Break It)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Play free in your browser (desktop &amp;amp; mobile, zero ads, zero login):&lt;/strong&gt; &lt;a href="https://onelastgap.com" rel="noopener noreferrer"&gt;https://onelastgap.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;itch.io page:&lt;/strong&gt; &lt;a href="https://mooradxo.itch.io/one-last-gap" rel="noopener noreferrer"&gt;https://mooradxo.itch.io/one-last-gap&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;(There's also a completely absurd &lt;code&gt;$15,000 — Buy a Wider Gap&lt;/code&gt; Hall of Shame button tucked inside &lt;code&gt;INFO&lt;/code&gt; — it doesn't win the &lt;code&gt;$100&lt;/code&gt;, just permanently engraves your name at the top. 100% of it goes toward monthly cancer medication for my mom. I'm not asking for charity — I just built something brutally hard that I'm proud of.)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I'd love to hear your thoughts on the Commit-Reveal design, any edge cases you'd test against it, and your closest miss in &lt;code&gt;mm&lt;/code&gt;!&lt;/p&gt;

</description>
      <category>gamedev</category>
      <category>webdev</category>
      <category>typescript</category>
      <category>security</category>
    </item>
    <item>
      <title>NIB 1.1.0: refining the edit, save, reopen and export loop</title>
      <dc:creator>Murad</dc:creator>
      <pubDate>Wed, 21 Oct 2026 09:17:27 +0000</pubDate>
      <link>https://dev.to/mooradxo/nib-110-refining-the-edit-save-reopen-and-export-loop-2g3i</link>
      <guid>https://dev.to/mooradxo/nib-110-refining-the-edit-save-reopen-and-export-loop-2g3i</guid>
      <description>&lt;p&gt;I have released NIB 1.1.0, the next stable version of my visual 2D/3D game editor and engine. Since 1.0.1, I have been working on how the parts of the editor behave together: scene changes, scripts and resources, Play/Stop, persistence and the exported game.&lt;/p&gt;

&lt;p&gt;NIB combines a visual workspace with JavaScript gameplay. You can edit directly or connect a separately configured compatible MCP client. The public download is a compiled browser-editor ZIP; it needs Node.js 22.12+ and desktop Chromium, but no engine build or npm installation.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/MooradXO/NIB-Editor/releases/tag/v1.1.0" rel="noopener noreferrer"&gt;Download and release notes&lt;/a&gt; · &lt;a href="https://thenibengine.com/" rel="noopener noreferrer"&gt;Official website and playable demos&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  NIB now has its own official website
&lt;/h2&gt;

&lt;p&gt;I have also launched &lt;a href="https://thenibengine.com/" rel="noopener noreferrer"&gt;thenibengine.com&lt;/a&gt; as NIB's official home. You can play game demos in the browser, explore the engine tools and find the documentation and current stable download in one place.&lt;/p&gt;

&lt;h2&gt;
  
  
  The workflow I want people to try
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open a starter project and change one scene or script.&lt;/li&gt;
&lt;li&gt;Enter Play, inspect the result, then return to editing.&lt;/li&gt;
&lt;li&gt;Save, close and reopen the project.&lt;/li&gt;
&lt;li&gt;Export Single HTML or Web Project ZIP and run the exported game independently.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That small sequence crosses several boundaries: authored state versus runtime state, in-memory resources versus saved project data, and editor behavior versus an independent build. It is also a useful way to give focused feedback on 1.1.0.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changed after 1.0.1
&lt;/h2&gt;

&lt;p&gt;The editor updates cover scene authoring, selection/history, Play/Stop, panel layouts and asset refresh. Project transfers, external script-conflict handling, backups and recovery have also been refined.&lt;/p&gt;

&lt;p&gt;The authoring workflows for terrain and foliage, materials, rigs, animation graphs, explicit retargeting, Timeline, game UI and localization received improvements and more detailed reference guides. These are developments of the existing tools; they should not be read as a list of features that all appeared for the first time in 1.1.0.&lt;/p&gt;

&lt;p&gt;Runtime work covers entity/component contracts, level transitions, cameras, input, physics, grid navigation, animation, audio and resource ownership. Rendering work includes WebGL2/WebGPU behavior, HDRI refresh, visibility, batching and effect/resource lifetimes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Motion blur with a defined scope
&lt;/h2&gt;

&lt;p&gt;1.1.0 includes camera-only motion blur for perspective views of depth-writing surfaces. It does not calculate independent object velocities. That distinction matters when evaluating a moving character against a static camera: camera motion and per-object motion are different inputs.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://github.com/MooradXO/NIB-Editor/blob/v1.1.0/docs/13-CAPABILITIES.md" rel="noopener noreferrer"&gt;capabilities guide&lt;/a&gt; keeps the supported scope and remaining limitations together. WebGPU availability also depends on browser, device and content; selecting it is not a guarantee of identical output or greater speed on every GPU.&lt;/p&gt;

&lt;h2&gt;
  
  
  Imports and exports should be inspectable
&lt;/h2&gt;

&lt;p&gt;Model/asset import, standalone HTML and Web Project export, optional Windows game packaging and local MCP authoring have been improved. Validation and failure reports are part of the workflow. A rejected operation should give the author something to investigate, rather than be presented as a successful result.&lt;/p&gt;

&lt;p&gt;Players of a hosted web export need neither NIB nor Node.js. The optional Windows packager wraps a Single HTML game as a portable unsigned x64 Electron application; it is separate from the desktop editor installer, which remains in development.&lt;/p&gt;

&lt;h2&gt;
  
  
  The optional MCP path
&lt;/h2&gt;

&lt;p&gt;The release server still exposes 62 tools for project inspection, scene/script/resource authoring, screenshots, Play tests and export. For example, an assistant can inspect the current project, make a bounded change, capture the result and test it while the user retains the visual editor.&lt;/p&gt;

&lt;p&gt;The client and any AI provider are configured separately. The engine does not bundle an AI subscription or guarantee that a prompt becomes a finished game. The versioned &lt;a href="https://github.com/MooradXO/NIB-Editor/blob/v1.1.0/mcp/README.md" rel="noopener noreferrer"&gt;MCP guide&lt;/a&gt; documents the current interface and operation boundaries.&lt;/p&gt;

&lt;h2&gt;
  
  
  Upgrading an existing project
&lt;/h2&gt;

&lt;p&gt;Back up your projects and extract 1.1.0 into a separate folder. Browser-storage projects need their own export or transfer; copying a folder does not copy browser storage. Check save/reopen and an independent game export before retiring the older installation. Corrected behavior and stricter validation may affect projects that relied on invalid data or defects.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://github.com/MooradXO/NIB-Editor/blob/v1.1.0/docs/PUBLISHING.md#upgrade-the-editor" rel="noopener noreferrer"&gt;upgrade guide&lt;/a&gt; and &lt;a href="https://github.com/MooradXO/NIB-Editor/blob/v1.1.0/docs/COMPATIBILITY.md" rel="noopener noreferrer"&gt;compatibility guide&lt;/a&gt; cover the details. The release candidate passed 364 headless test files, P0 integration checks, clean startup and isolated WebGL2/WebGPU authoring/save/reopen/export checks. That scoped validation does not imply coverage of every device, OS or project.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try a small project
&lt;/h2&gt;

&lt;p&gt;The editor includes ten playable starter games, six rendering/animation showcases and empty 2D/3D scenes. The new reference material includes a first 2D game tutorial and preset learning paths.&lt;/p&gt;

&lt;p&gt;NIB is proprietary and free for personal, educational and commercial games, with no mandatory subscription or royalties. Your original game code and assets remain yours; preserve the required runtime and third-party notices when distributing games.&lt;/p&gt;

&lt;p&gt;If you test the update, I would appreciate a small reproducible example for any failure, along with browser/backend details where relevant. I am particularly interested in where the edit/save/reopen/export loop breaks down for a first-time user.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/MooradXO/NIB-Editor/blob/v1.1.0/CHANGELOG.md" rel="noopener noreferrer"&gt;Full changelog&lt;/a&gt; · &lt;a href="https://github.com/MooradXO/NIB-Editor/blob/v1.1.0/GETTING_STARTED.md" rel="noopener noreferrer"&gt;Getting started&lt;/a&gt; · &lt;a href="https://github.com/MooradXO/NIB-Editor/issues" rel="noopener noreferrer"&gt;Bug reports&lt;/a&gt; · &lt;a href="https://github.com/MooradXO/NIB-Editor/discussions" rel="noopener noreferrer"&gt;Questions and feedback&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Earlier trailer and short-demo footage remains footage of NIB 1.0.0. Two Thrones is a separate showcase, not a promised part of this archive.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>gamedev</category>
      <category>webdev</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Show DEV: NIB 1.0.0 — my free visual 2D &amp; 3D game engine with JavaScript and web export</title>
      <dc:creator>Murad</dc:creator>
      <pubDate>Tue, 06 Oct 2026 12:58:39 +0000</pubDate>
      <link>https://dev.to/mooradxo/show-dev-nib-100-my-free-visual-2d-3d-game-engine-with-javascript-and-web-export-53k1</link>
      <guid>https://dev.to/mooradxo/show-dev-nib-100-my-free-visual-2d-3d-game-engine-with-javascript-and-web-export-53k1</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Current release update / 21 October 2026&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Current stable release: NIB 1.1.0 (released 17 October 2026).&lt;br&gt;
Download and release notes: &lt;a href="https://github.com/MooradXO/NIB-Editor/releases/tag/v1.1.0" rel="noopener noreferrer"&gt;https://github.com/MooradXO/NIB-Editor/releases/tag/v1.1.0&lt;/a&gt;&lt;br&gt;
Official website and demos: &lt;a href="https://thenibengine.com/" rel="noopener noreferrer"&gt;https://thenibengine.com/&lt;/a&gt;&lt;br&gt;
This post, its original screenshots and video document an earlier release. They have been kept as development history. Back up projects and follow the upgrade guide before moving to 1.1.0: &lt;a href="https://github.com/MooradXO/NIB-Editor/blob/v1.1.0/docs/PUBLISHING.md#upgrade-the-editor" rel="noopener noreferrer"&gt;https://github.com/MooradXO/NIB-Editor/blob/v1.1.0/docs/PUBLISHING.md#upgrade-the-editor&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/mooradxo/nib-110-refining-the-edit-save-reopen-and-export-loop-2g3i"&gt;Read the NIB 1.1.0 article&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Update — 7 October 2026: NIB 1.0.1 is the current stable release.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The maintenance update fixes 40 confirmed issues in project safety, Undo/Redo and partial MCP edits, animation, physics, WebGL2/WebGPU rendering and web exports. Project and asset formats are unchanged.&lt;/p&gt;

&lt;p&gt;For JavaScript/web projects, the export fixes preserve script/text strings in Single HTML, support RGB/RGBA hex colors, and allow exported scripts to load HDR assets. Back up your projects and extract the new version separately before checking save/reopen and an independent export.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://mooradxo.itch.io/nib" rel="noopener noreferrer"&gt;Download 1.0.1 on itch.io&lt;/a&gt;&lt;/strong&gt; · &lt;strong&gt;&lt;a href="https://github.com/MooradXO/NIB-Editor/releases/tag/v1.0.1" rel="noopener noreferrer"&gt;Full release notes and compatibility limits&lt;/a&gt;&lt;/strong&gt; · &lt;strong&gt;&lt;a href="https://mooradxo.itch.io/nib/devlog/1695774/nib-101-stable-maintenance-update-safer-projects-and-more-reliable-exports" rel="noopener noreferrer"&gt;Update devlog&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The original introduction below, trailer and screenshots document 1.0.0. Two Thrones is a separate example and is not bundled in the 1.0.1 archive.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;Hi DEV! I'm &lt;strong&gt;Murad Mammadov (MooradXO)&lt;/strong&gt;. Over the past several months, I've been building &lt;strong&gt;NIB&lt;/strong&gt;, a visual game editor and engine for making 2D and 3D games with JavaScript. &lt;strong&gt;NIB 1.0.0, the first stable release, is now available.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The idea is to keep scene building, gameplay, character animation, effects, testing and browser export in one visible workspace. You can start with an empty scene or open a playable starter game and change it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://mooradxo.itch.io/nib" rel="noopener noreferrer"&gt;Download NIB on itch.io&lt;/a&gt;&lt;/strong&gt; · &lt;strong&gt;&lt;a href="https://github.com/MooradXO/NIB-Editor/releases/tag/v1.0.0" rel="noopener noreferrer"&gt;Stable 1.0.0 release on GitHub&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The trailer above contains actual gameplay and editor footage captured from the distributed &lt;strong&gt;1.0.0&lt;/strong&gt; release.&lt;/p&gt;

&lt;h2&gt;
  
  
  From a scene to a playable game
&lt;/h2&gt;

&lt;p&gt;My intended workflow is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Build the scene:&lt;/strong&gt; place models, sprites, lights and reusable prefabs; organize entities and components in the Hierarchy and Inspector.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Give it rules:&lt;/strong&gt; use the built-in controllers and write JavaScript gameplay, with script parameters exposed in the Inspector.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add motion and atmosphere:&lt;/strong&gt; work with rigs, animation clips and state graphs, layered effects, spatial audio and game UI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test:&lt;/strong&gt; switch into Play, check the Console and Profiler, then return to editing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Share:&lt;/strong&gt; export a &lt;strong&gt;Single HTML&lt;/strong&gt; game or a &lt;strong&gt;Web Project ZIP&lt;/strong&gt; for hosting.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Players of a hosted exported game do not need to install NIB or Node.js.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgr16x2dny3gyzhg4yl1v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgr16x2dny3gyzhg4yl1v.png" alt="Relay Foundry, a playable FPS starter game built in NIB 1.0.0" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Relay Foundry: first-person movement, animated enemies, interactions and a mission objective.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What can you build with it?
&lt;/h2&gt;

&lt;p&gt;The release includes &lt;strong&gt;ten playable starter games&lt;/strong&gt; and &lt;strong&gt;six rendering/animation showcases&lt;/strong&gt;. These demonstrate working combinations of the tools:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;2D platformers:&lt;/strong&gt; sprites, frame animation, platformer movement, double jump, camera following, collisions, parallax and UI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FPS and exploration games:&lt;/strong&gt; first-person controls, pointer lock, raycasts, scripted interactions, animated models, lighting, fog and spatial sound.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Arcade racing:&lt;/strong&gt; vehicle control, chase cameras, checkpoints and lap timing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Physics puzzles:&lt;/strong&gt; Rapier 3D rigid bodies, colliders, joints, sensors and raycasts, alongside built-in 2D physics.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Action and RPG prototypes:&lt;/strong&gt; baked grid navigation, animation states, combat scripts, effects, loot and menus.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Card, board and casual games:&lt;/strong&gt; sprites, text, interactive UI, input and JavaScript rules.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For world building, NIB has terrain sculpting, surface painting, foliage scattering, PBR materials and post-processing. Rendering supports WebGL2 and WebGPU; availability depends on the browser and GPU.&lt;/p&gt;

&lt;p&gt;Larger systems such as quests, inventory and progression are authored in your game's scripts. The presets give you examples to inspect and modify.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F76z6yyxvbh8e3906xqqn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F76z6yyxvbh8e3906xqqn.png" alt="Signal Harbor, a top-down 2D starter campaign in NIB" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Signal Harbor: an illustrated five-level campaign with relays, menus and local save/continue.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Character animation and effects
&lt;/h2&gt;

&lt;p&gt;The character tools let you adopt an imported skeleton or author a rig, edit bones and weights, preview deformation, create animation clips and connect them through state graphs. Retargeting uses explicit bone mapping; two-bone IK is available for manually configured targets.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0dk8cfm8gr03gc1rb015.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0dk8cfm8gr03gc1rb015.png" alt="NIB character editor with an imported knight skeleton and bone controls" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The character editor, with a visible skeleton and editable rest transforms.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The Effect editor combines particle, geometry, trail, light and audio layers into reusable effects. You can preview them, adjust lifetime and curves, then trigger them from scripts or animation events.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft6h45xynpzic8fau8c1l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft6h45xynpzic8fau8c1l.png" alt="NIB Effect editor with particle emission, lifetime, size and color controls" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;An effect being edited inside the same workspace as the game scene.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Optional local MCP workflow
&lt;/h2&gt;

&lt;p&gt;NIB ships with a local MCP server exposing &lt;strong&gt;62 tools&lt;/strong&gt;. A compatible client can inspect scenes, edit entities and scripts, work with assets, rigs and effects, author terrain or timeline keys, run Play tests, capture screenshots and export games.&lt;/p&gt;

&lt;p&gt;My preferred loop is simple: inspect the scene, make a bounded change, look at the result and test it. The visual editor remains available throughout.&lt;/p&gt;

&lt;p&gt;MCP is optional. You can use the editor directly, and any AI client or provider is configured separately.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try the stable release
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Install &lt;strong&gt;Node.js 22.12 or newer&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Download &lt;strong&gt;NIB-1.0.0.zip&lt;/strong&gt;, rather than GitHub's automatic “Source code” archive, and extract the entire ZIP into a writable folder.&lt;/li&gt;
&lt;li&gt;On Windows, run &lt;strong&gt;start.bat&lt;/strong&gt;. On macOS/Linux, run &lt;strong&gt;sh start.sh&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Keep the local server running and open &lt;strong&gt;&lt;a href="http://localhost:8670/editor/" rel="noopener noreferrer"&gt;http://localhost:8670/editor/&lt;/a&gt;&lt;/strong&gt; in desktop Chrome or Edge.&lt;/li&gt;
&lt;li&gt;Open &lt;strong&gt;File → New Scene (Genres)&lt;/strong&gt;, choose a preset, confirm Create and press Play.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The supplied editor is compiled: no Git checkout, build step or npm installation is required. Save your project and back up the projects folder before upgrading.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Current scope:&lt;/strong&gt; the editor initially targets desktop Chromium. Test exported games on their intended devices. NIB does not supply a built-in multiplayer/cloud backend or mobile/console deployment pipeline. An optional Windows x64 packager can wrap a Single HTML game in Electron.&lt;/p&gt;

&lt;h2&gt;
  
  
  Free to make games; proprietary engine
&lt;/h2&gt;

&lt;p&gt;NIB is free for personal, educational and commercial games, with &lt;strong&gt;no mandatory subscription or royalties&lt;/strong&gt;. Your original game code and assets remain yours.&lt;/p&gt;

&lt;p&gt;The engine/editor is proprietary. The &lt;a href="https://github.com/MooradXO/NIB-Editor/blob/v1.0.0/LICENSE" rel="noopener noreferrer"&gt;NIB license&lt;/a&gt; permits distributing the runtime as part of your games, with the required notices; redistributing or rebranding the standalone engine/editor requires permission.&lt;/p&gt;

&lt;h2&gt;
  
  
  A newer game example: Two Thrones
&lt;/h2&gt;

&lt;p&gt;I've also shared &lt;a href="https://mooradxo.itch.io/nib/devlog/1692727/two-thrones-a-new-turn-based-strategy-game-made-with-nib" rel="noopener noreferrer"&gt;a development log for Two Thrones&lt;/a&gt;, a turn-based strategy game made with NIB, combining a 3D overworld with hex battles. It is a separate, newer example and &lt;strong&gt;is not included in the NIB 1.0.0 ZIP&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  I'd like your feedback
&lt;/h2&gt;

&lt;p&gt;If you try NIB, I'd love to hear how your first session goes. Open a preset, make a small change and export a game if you have time.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Was the first-run setup clear?&lt;/li&gt;
&lt;li&gt;Which part of the editor felt confusing or slowed you down?&lt;/li&gt;
&lt;li&gt;Did your exported game behave as expected?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Leave a comment here, use &lt;a href="https://github.com/MooradXO/NIB-Editor/issues" rel="noopener noreferrer"&gt;GitHub Issues for reproducible bugs&lt;/a&gt;, or visit &lt;a href="https://github.com/MooradXO/NIB-Editor/discussions" rel="noopener noreferrer"&gt;GitHub Discussions for questions, ideas and creations&lt;/a&gt;. The &lt;a href="https://github.com/MooradXO/NIB-Editor/blob/v1.0.0/docs/README.md" rel="noopener noreferrer"&gt;release documentation&lt;/a&gt; covers the tools in more detail.&lt;/p&gt;

&lt;p&gt;Thanks for taking a look!&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Media credits:&lt;/strong&gt; gameplay and editor captures are from NIB 1.0.0. Katana models shown in the trailer were generated with Meshy AI under &lt;a href="https://creativecommons.org/licenses/by/4.0/" rel="noopener noreferrer"&gt;CC BY 4.0&lt;/a&gt;; source exports were supplied by MooradXO, and geometry and textures were modified for NIB. The instrumental score was created specifically for the trailer. See the &lt;a href="https://github.com/MooradXO/NIB-Editor/blob/v1.0.0/THIRD-PARTY-LICENSES.txt" rel="noopener noreferrer"&gt;full third-party asset notices&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>gamedev</category>
      <category>webdev</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
