-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Brandt Homan edited this page May 8, 2026
·
2 revisions
This page is the quickest way to run Pan's Trial locally, understand the controls, and choose the right launch path for your use case.
-
Pans_Trial.exe: quickest Windows launch if you just want to play the checked-in desktop build. -
main.py: best path for active development and local desktop testing. -
build_web.py: best path when you need the browser build or hosted multiplayer flow. -
room_server.py: best path when you want the browser build and room-code multiplayer from one local URL.
- Python
3.12or3.13works for desktop play from source. - Python
3.12is required for the browser build path. - Windows PowerShell commands below assume you are in the project root.
py -3.12 -m venv .venv
.\.venv\Scripts\python.exe -m pip install --upgrade pip
.\.venv\Scripts\python.exe -m pip install pygame-ce pygame_gui pandas pytest
.\.venv\Scripts\python.exe main.pypy -3.12 -m venv .venv-web
.\.venv-web\Scripts\python.exe -m pip install --upgrade pip
.\.venv-web\Scripts\python.exe -m pip install -r requirements-web.txt
.\.venv-web\Scripts\python.exe build_web.py --build-only
.\.venv-web\Scripts\python.exe room_server.py --host 127.0.0.1 --port 8000Then open:
http://127.0.0.1:8000
To test with another computer or phone on the same network:
.\.venv-web\Scripts\python.exe room_server.py --host 0.0.0.0 --port 8000Open the printed LAN Game URL on each device. The same URL hosts both the browser game and the room API.
-
Single Player Against AI: local game against the current AI. -
Two Player: room-code multiplayer flow. -
How To Play: in-game rules overview. -
Settings: display, text, sound, tutorial, and related options. -
Quit: exits the game.
-
Arrow KeysorWASD: move through the labyrinth. -
Mouse: choose draft cards, click board moves, target Ballista launches, play hand cards, choose requests, resolve request popups, and place Appeasing cards into holes. -
Pick Up: spend a Traversing turn to interact with the card on the current tile when the tile is not a Wall.
- Start the game and choose either single-player or two-player mode.
- Complete the coin flip and face-card draft.
- Review the Omen assignments before gameplay starts.
- Play through Traversing and Appeasing Pan cycles until one player reaches 25 or more damage.
- Use the match summary and rematch flow after game over.
- The Omen legend explains which suits currently act as Walls, Traps, Ballista, and Weapons.
- During Appeasing Pan, the role order explains why one submitted card wins request priority.
- Request screens are intentionally guided because Restructure, Steal Life, Ignore Us, and Plane Shift are state-heavy effects.
- The same rules are enforced in single player, room-code multiplayer, tests, and balance simulations.