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
群を題材にした小さなゲームを置いていく場所。いまのところ「テトラ道」「群シューター」「3つの群論パズル」の3つ。
Translation pending
GamesTypeScript · CSSGitHub @kuboonOnlineOwner 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
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗群で遊ぶ小さなゲームを置いていく場所。
| ゲーム | 中身 |
|---|---|
| テトラ道 | 正四面体を120°ずつ回す操作が並んだ盤面をなぞり、元の向きに戻る経路を探す。群は A₄。 |
| 群シューター | 1 列でやってくる立体の敵の、ジョイスティックで選んだ場所を軸にして回し、e の向きに戻ったところを e砲 で撃ち抜くシューティング。群は D₃・D₄・A₄・S₄・A₅。 |
| 3つの群論パズル | Scientific American 2008「Simple Groups at Play」の3つのパズル(M₁₂・M₂₄・Dotto)の再現。出典は日経サイエンス。 |
ゲームはひとつずつ増やしていく。増やし方は web/README.md
の「Adding a game」にある。
サイトは Remix v3 と
@remix-kbn/ssg で書かれた静的サイトで、GitHub
Pages に置いてある。ページを返すのは web/server/router.ts
ひとつで、ビルドはその同じ ハンドラを JSR
から直接クロールするので、このリポジトリにビルドスクリプトはない。
トップページとルール説明は JavaScript を1バイトも積まない。ゲームのページだけが島 (island)を置いて、そのぶんだけ hydrate する。
中身は web/ にある Deno ワークスペースで、メンバーは2つ。client/
はブラウザに 渡るものだけを置き、deno.ns なしで型検査する。server/
はルータ、バンドラ、ビルドを持つ。 詳しくは web/README.md。
cd web
deno task dev # http://localhost:8000
deno task build # web/dist に静的サイトを生成
deno task check # 型検査、lint、フォーマット検査
.github/workflows/pages.yml が、再利用可能ワークフロー
kuboon/workflows/.github/workflows/github-page-with-preview.yaml
を呼ぶ。main は Pages
のルートに、プルリクエストはプレビュー用のサブパスに置かれ、プレビュー URL が
プルリクエストにコメントされる。ビルドは
mise(mise.toml)が Deno を入れて deno task build
を正しい BASE_URL で走らせる。
有効にするには Settings → Pages → Build and deployment → Source: GitHub Actions。