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 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Tic-Tac-Toe with a twist — the board never fills up. Once all nine squares are taken, the oldest move vanishes, so there are no draws: someone has to win.
The Twist · Rules · Getting Started · How it's built
Classic Tic-Tac-Toe ends in a draw far too often. Here, every move is remembered in a queue — when the board is full and nobody has won, the oldest mark is erased and play continues. You have to think about which of your marks is about to disappear!
flowchart TD
A(["Player clicks an empty square"]) --> B["Place X / O<br/>push move into queue"]
B --> C["Switch player"]
C --> D{"Three in a row?"}
D -- "yes" --> W(["🏆 Winner! highlight line<br/>show New Game"])
D -- "no" --> E{"9 moves on board?"}
E -- "yes" --> F["Remove the OLDEST move<br/>(queue.shift) and free that square"]
E -- "no" --> A
F --> A
Board full, no winner Oldest move (X at top-left) vanishes
X | O | X _ | O | X
---+---+--- ---+---+---
X | O | O ─────────▶ X | O | O
---+---+--- ---+---+---
O | X | X O | X | X
Now the next player can take that freed square.
No installs, no build step:
git clone https://github.com/Shariq2003/Recursive-Tic-Tac-Toe.git
cd Recursive-Tic-Tac-Toe
# open index.html in your browser
| Piece | Implementation |
|---|---|
| Board state | gameGrid — array of 9 cells |
| Move history | moves — a FIFO queue of cell indexes |
| Win check | 8 winning lines checked after every move |
| Recycling | moves.shift() clears the oldest cell when 9 moves are on the board |
| UI | Vanilla DOM, CSS grid, winning cells highlighted |
Recursive-Tic-Tac-Toe/
├── index.html
├── styles.css
└── index.js
⭐ If this twist made you think, consider giving it a star!