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
聽見前奏的瞬間,記憶就開始比賽——猜出歌手、歌名與年份,翻牌見真章。
Translation pending
GamesJavaScript · CSSGitHub @liujontw-createOnlineOwner 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
Loading the full README. The saved excerpt is shown below.
純前端網頁,串接指定的 Spotify 歌單,隨機播放歌曲讓玩家猜「這是誰的哪首歌」。 可選擇「從開頭播放」或「隨機精華片段」,也能選播放長度,播放時不顯示歌名/歌手,按下「翻牌」才公布答案。 玩家可以隨時到該 Spotify 歌單裡自行加歌,遊戲畫面按「重新整理歌單」即可抓到最新曲目。 網頁本身只負責選歌、計時、翻牌 UI,不會用瀏覽器本身播放音樂——而是遙控你手機或電腦上原本就開著的 Spotify App(或任何 Spotify Connect 喇叭)來放歌,這樣手機瀏覽器也能順暢使用。 • 一個 Spotify Premium 帳號(Spotify 的播放控制 API 只支援 Premium 帳號,免費帳號會顯示錯誤)。 • 一個免費的 Spotify Developer App(下面步驟教你申請)。 • 玩遊戲時,負責放音樂的那台裝置(手機、電腦、喇叭)要有 Spotify App 開著。 • 歌單必須是登入帳號自己擁有或協作的——Spotify 規定第三方網頁只能讀取自己擁有或協作的歌單完整曲目,別人建立、單純設成公開的歌單讀不到。想讓朋友一起挑歌,可以開啟自己歌單的「協作」功能邀請朋友加歌。Read the full README ↗
🔗 已部署:https://liujontw-create.github.io/absolutelymysong/
純前端網頁,串接指定的 Spotify 歌單,隨機播放歌曲讓玩家猜「這是誰的哪首歌」。 可選擇「從開頭播放」或「隨機精華片段」,也能選播放長度,播放時不顯示歌名/歌手,按下「翻牌」才公布答案。
玩家可以隨時到該 Spotify 歌單裡自行加歌,遊戲畫面按「重新整理歌單」即可抓到最新曲目。
網頁本身只負責選歌、計時、翻牌 UI,不會用瀏覽器本身播放音樂——而是遙控你手機或電腦上原本就開著的 Spotify App(或任何 Spotify Connect 喇叭)來放歌,這樣手機瀏覽器也能順暢使用。
Spotify 的登入流程要求 Redirect URI 是 http://127.0.0.1:PORT/(不能用 localhost,也不能用 file://)。
這個資料夾裡附了一個 serve.ps1,用 PowerShell 執行(不需要另外安裝 Python/Node):
powershell -NoProfile -ExecutionPolicy Bypass -File serve.ps1
看到 Serving ... on http://127.0.0.1:8000/ 就代表啟動成功,保持該終端機視窗開著。然後瀏覽器打開:
http://127.0.0.1:8000/
(如果你的電腦有裝 Python 或 Node,也可以改用 python -m http.server 8000 --bind 127.0.0.1 或 npx serve -l 8000,效果一樣。用手機瀏覽器開的話,手機要跟這台電腦在同一個 Wi-Fi,網址改用電腦的區網 IP,例如 http://192.168.x.x:8000/,並把這個網址也加進 Redirect URIs。)
打開網頁後,畫面上「Redirect URI」欄位會顯示目前這個網址(例如 http://127.0.0.1:8000/)。
按「複製」,回到 Spotify Developer Dashboard 的 App Settings,把它貼到 Redirect URIs,按 Save。
https://open.spotify.com/playlist/xxxxxxxx)或純 ID——貼上後會自動載入,不用再按其他按鈕。如果不想每次都跑本機伺服器,可以把這幾個檔案(index.html、style.css、app.js)部署到 GitHub Pages、Vercel 等靜態網站服務,並把該服務給你的 https 網址一併加進 Spotify App 的 Redirect URIs(可以同時保留本機那組)。這樣手機也能直接連公開網址,不用跟電腦同一個 Wi-Fi。