YJ.
Experimental Lab

Dodge

A modern 2026 JavaScript restoration of the classic Flash dodge game, remade by Gemini 3.1.

Javascript Game React Canvas AI-Restoration
0.0s

DODGE

Use WASD or ARROWS to move.
Your ship attracts nearby dots.

A modern JavaScript recreation of the original Flash-based “Dodge” game. This 2026 version was restored and remade by Gemini 3.1, based on the mechanics and visual logic of the 2009 original.

Goal

Maneuver your ship (the triangle) to avoid incoming dots. Your ship generates a gravity field that attracts nearby objects, creating a “slingshot” effect if you keep moving, but making you a target if you stand still.

Controls

  • SPACE: Start or Restart the game.
  • WASD or ARROW KEYS: Move the ship.

Technical Implementation

This version was rebuilt using React and the HTML5 Canvas API.

  • AI Restoration: Logic and physics were interpreted and implemented by Gemini 3.1 to match the original ActionScript 3.0 feel.
  • Physics Engine: A custom simplified gravity simulation where force is inversely proportional to distance.
  • Performance: Utilizes requestAnimationFrame for smooth 60fps rendering.
  • Persistence: Local high scores are saved using localStorage.

ORIGINAL REFERENCE

Dodge holds a special place in my journey as an interactive designer—it was the very first game I ever built while learning ActionScript 3.0 back in 2009. Recreating it today in JavaScript is a tribute to those early days of exploring the intersection of code, physics, and play.

Original Dodge cover image from the 2009 Flash release.
Original cover image from the 2009 Flash release.