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를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Two games for the Raspberry Pi Sense HAT's 8x8 RGB LED
matrix and joystick, written in Python with its sense_hat library.
Play them in your browser: the same Python files,
run unchanged.
With the Sense HAT fitted, run a game from the top of this repository:
simulator/ holds a stand-in for the sense_hat library and a window to show it in, so the games run on a
Mac, Windows or Linux machine without a Pi. The games' code is not changed: the simulator puts its own
sense_hat first on the path, and the games import it as usual.
You can also click the joystick in the window.README 전문 보기 ↗Two games for the Raspberry Pi Sense HAT's 8x8 RGB LED
matrix and joystick, written in Python with its sense_hat library.
Play them in your browser: the same Python files, run unchanged.
| Game | |
|---|---|
| Space Invaders | Move the laser cannon left and right, press the joystick in to fire, and clear all six invaders. |
| The Legend of Zelda | Walk Link through Tail Cave from Link's Awakening, picking up keys and opening doors. |
With the Sense HAT fitted, run a game from the top of this repository:
python3 spaceInvaders/space_invaders.py
python3 legendOfZelda/legend_of_zelda.py
simulator/ holds a stand-in for the sense_hat library and a window to show it in, so the games run on a
Mac, Windows or Linux machine without a Pi. The games' code is not changed: the simulator puts its own
sense_hat first on the path, and the games import it as usual.
python3 simulator/run.py # pick a game
python3 simulator/run.py spaceInvaders # or name its folder
python3 simulator/run.py legendOfZelda
| Key | Joystick |
|---|---|
| Arrow keys | up, down, left, right (hold to repeat) |
| Enter or Space | press in |
You can also click the joystick in the window.
brew install python-tk.get_pixel() matches the hardware. Zelda relies on that to find doors and keys.The stand-in's tests:
python3 -m unittest discover tests
web/ is the page. It runs the games with Pyodide, which is Python compiled to
WebAssembly, in a background worker, against the same stand-in sense_hat.
threading.Timer becomes a browser timer.time.sleep() pauses only the worker, so the LEDs stay on screen while a game waits.master
(.github/workflows/web.yml).To try it locally:
python3 web/build.py site
python3 -m http.server -d site # then open http://localhost:8000
| Path | Holds |
|---|---|
spaceInvaders/, legendOfZelda/ | The games, their pixel art and the images they load. |
simulator/sense_hat/ | The stand-in sense_hat library, shared by the desktop and web versions. |
simulator/run.py | The desktop simulator's window. |
web/ | The web page, its Pyodide worker and the script that gathers the site. |
tests/ | Tests for the stand-in. |