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
翻譯準備中
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證A chess bot that plays like me — built from my real chess.com games
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
A chess bot that plays like me — built from every game I've played on
chess.com/Burkeley.檢視完整 README ↗A chess bot that plays like me — built from every game I've played on chess.com/Burkeley.
Play it: https://aburke225.github.io/burke-bot/
pipeline/build.py downloads my full chess.com game history (public API,
rapid games vs humans), merges any PGN files in manual-pgn/ (vs-computer
games — the API never includes those, so they're exported by hand), and
builds docs/book.json: every position I've faced, with the moves I played
there and how often.pipeline/train_style.py). Ten candidates - not five - so genuinely bad,
human moves are in the pool, and the variable features include
mistake-shaped ones (hangs the piece, leaves one hanging, loses the
exchange) so the model can learn my blunder tendencies, not just my taste.
The trainer analyses with that same vendored engine, run headless through
node — training and play always agree on how candidate moves rank, and
upgrading the vendored engine upgrades both. pipeline/audit.py compares
my mistake profile with the bot's across self-play games.
Every candidate move scores 30 features — 15 static ones that are always
on, and 15 variable ones where the trainer tries all 32,768 subsets and
keeps whichever predicts my moves best on held-out games (with a switching
margin, so near-ties don't churn the model). docs/style.json ships the
winner. Candidates come from a depth-5 search — a human at my level thinks
a couple of moves ahead, so the bot does too. At play time a salience guard
(mirrored in audit.py) drops candidates the aggregate model can't judge:
moves that ignore the threat the opponent just made, voluntary king-walks,
purposeless edge-pawn pushes (queens still on, and the push kicks nothing
off the square it now attacks, defends nothing, is no passer and no storm
at their king — measured: I kick a bishop that is already there 17% of the
time, but push prophylactically to stop one arriving 1.8%, against a 0.7%
baseline for admittedly aimless pushes, and I air out my own castled king
0.4% of the time, which is below that baseline), and — while the position is still
healthy — outright howlers (2.5+ pawns worse than the engine's best;
once already lost, the tail stays, because that is when I flail too).
Each survives only as the engine's #1. And when a near-best capture of a
queen by a lesser piece exists, the bot takes it: that is the one thing
I see every time. If the model fails to load, a strength-capped engine
(skill 4) takes over instead.docs/ is the whole site — static files on GitHub Pages, no server, no build
step. Cache-busted assets (style.css?v=N, app.js?v=N): bump N on every change.
python3 -m pip install python-chess numpy
python3 pipeline/build.py
python3 pipeline/train_style.py # analyses with the vendored engine via node