Underground 2 Revived
Play Need for Speed: Underground 2 (2004) in Chrome and Firefox with WebGPU graphics, Web Audio, up to 120 fps widescreen, controller support, free roam and Online races with friends. Fan project, not
物理の単位を掛けたり割ったりしながら3D迷路を抜ける、次元解析の学習ゲーム。
Translation pending
GamesJavaScript · HTMLGitHub @ufclaude0i-starOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
単位迷宮 — 物理の単位を組み立てて迷路を抜ける、次元解析の学習ゲーム(第7回 学力向上アプリコンテスト応募作品)
Translation pending
Taken from the repository README
Loading the full README.
Read the full README ↗物理の「単位」を掛けたり割ったりしながら迷路を抜ける、次元解析の学習ゲーム。 第7回 学力向上アプリコンテスト 応募作品(一般部門)。
いちばん簡単: ブラウザで https://ufclaude0i-star.github.io/tani-meikyu/ を開くだけ。
ファイルから: このフォルダの直下にある index.html をダブルクリックするだけ。
(test/index.html は効果測定用の別ページで、作品本体ではありません。
dist/ フォルダは開発用のビルド出力で、提出物には含まれていません。)
インストール・ビルド・ネット接続はすべて不要です。
Windows / macOS / Linux の各ブラウザ、iPhone / iPad / Android のブラウザで動きます。
×m ÷s の球を通ると、手持ちの単位がその演算を受ける。
同じ単位で割ると 相殺 して球が小さくなる(音とエフェクトが出る)。関門(🔒)は、条件を満たす単位を持っているときしか通れません。 √ の橋は、すべての指数が偶数のときしか渡れません。 行き止まりや詰みに入ると自動で警告が出ます。「もどす」「やり直し」はいつでも使えます。
src/
core.js 次元ベクトル演算・単位パーサ・表示・関門判定・最短手ソルバ
render.js 3D描画エンジン(Canvas 2D に自前の透視投影。外部ライブラリなし)
stages.js 全13ステージのデータ(迷路・単位・解説・クイズ)
ui.js 画面制御(描画・入力・ヒント・クリア判定・セーブ)
style.css スタイル
index.template.html HTMLのひな形
tools/
build.js src を1つのHTMLに結合して dist/index.html を作る
gen.js 迷路生成器(ループ付き迷路を作り、正解ルート上に単位・関門を配置)
specs.js ステージ仕様(単位・演算の並び・解説・クイズ。教育的な中身は手書き)
make-stages.js gen.js + specs.js から src/stages.js を生成(解けることを確認してから書き出す)
verify.js 全ステージが本当に解けるか自動検証し、最短手数を出す
e2e.js 実ブラウザ(Playwright)で13ステージ全部を自動クリアして回帰テスト
dist/
index.html 提出用の単一ファイル(これ1つで完結)
ビルド:
node tools/make-stages.js # ステージを生成(迷路のシードは固定なので毎回同じ)
node tools/build.js # dist/index.html を生成
node tools/verify.js # 全ステージの解の存在と最短手数を検証
node tools/e2e.js # ブラウザで全ステージ自動プレイ(要 playwright)
src/stages.js に書き出している。乱数のシードは固定なので、誰が実行しても同じ迷路になる。tools/specs.js の story / tip / meaning。starsFor)から出し、一致を tools/star-test.js で検査する。tools/undo-test.js が検査する。tools/verify.js が全ステージで0個であることを毎回検査する。