Polestar
Polestar is a free, open-source leveling guide addon for WoW: Forever: an in-game arrow and leveling routes that make sense for every race 1 to 60, plus class quests.
翻訳待ち
No updates detected yet. GitHub releases will appear here.
Loading the full README. The saved excerpt is shown below.
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.Read the full 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. |