Skip to content

Add Out Run arcade clone (pseudo-3D driving game) - #2

Draft
hypervanse wants to merge 1 commit into
masterfrom
claude/out-run-arcade-clone-rukqpv
Draft

Add Out Run arcade clone (pseudo-3D driving game)#2
hypervanse wants to merge 1 commit into
masterfrom
claude/out-run-arcade-clone-rukqpv

Conversation

@hypervanse

Copy link
Copy Markdown
Owner

Summary

Adds a self-contained, browser-based Out Run arcade clone under out_run_clone/, implementing the design plan from the task's BUILD.md. This is unrelated to the IPinfo Python client that lives in the rest of this repo, but is added as an isolated static-web subdirectory per the plan's own file layout, so it doesn't touch any Python packaging.

  • Segment-based pseudo-3D road renderer (curves, hills, fog, painter's-algorithm occlusion)
  • Player physics: accel/brake/coast, Low/High gear shifting, centrifugal force on curves, off-road slowdown, crash/spinout with a post-crash recentering + grace period (prevents soft-locking against a roadside obstacle)
  • Procedurally-drawn roadside sprites (palm/pine/tree, rocks, cacti, signs, buildings, windmills — no external image assets) and traffic cars with car↔car and car↔roadside collision detection
  • Full 15-stage branching pyramid (Coconut Beach → 5 goal stages) with left/right fork choices, checkpoint time bonuses, and per-stage color themes
  • HUD (score, timer, gear, speed, stage name, radio station), title screen with attract-mode demo, radio station select, game-over / course-clear screens
  • Web Audio API engine sound (pitch mapped to speed), procedural radio "music" loops for the 3 stations, and SFX (crash, checkpoint, gear shift, countdown) — no external audio files
  • Keyboard controls (arrows/WASD, space for gear, enter, 1/2/3 for radio) plus on-screen touch controls for mobile

Test plan

  • Verified in a headless Chromium session (Playwright): title → radio select → gameplay → crash/recover → fork transition into stage 2 → timer-expiry game over, with zero console/page errors throughout
  • Fixed two real rendering/gameplay bugs found during testing: an inverted fog formula that was whiting out the entire road, and a crash-collision loop that could permanently soft-lock the player against a stationary roadside sprite
  • Manual play-through in a real browser (keyboard + touch) is still recommended before merging

🤖 Generated with Claude Code


Generated by Claude Code

Implements the browser Out Run clone from BUILD.md: a segment-based
pseudo-3D road renderer with curves/hills, player physics with gear
shifting and centrifugal force, procedurally-drawn roadside sprites and
traffic with collision detection, the full 15-stage branching pyramid
with fork choices and checkpoint time bonuses, a HUD, title/radio-select/
game-over/course-clear screens, and Web-Audio-based engine sound,
procedural radio music, and SFX. Keyboard and touch controls included.

No external image or audio assets — everything is drawn/synthesized
procedurally so the whole game is a handful of KB of vanilla JS.
@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 683f4967-fbb2-4550-8614-51ed2fcd72b5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@google-cla

google-cla Bot commented Aug 6, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link
Copy Markdown
Owner Author

The cla/google check failure isn't something fixable from this diff — it requires the repository/commit owner to sign Google's CLA at https://cla.developers.google.com/, using the same email as the commit author. No code change addresses this; leaving it to the repo owner to resolve.

CodeRabbit's review is intentionally skipped while this PR is a draft — that's expected, not an issue.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants