This file is for AI assistants helping a non-technical user run lycan-game.
Get the game running with the least user input. Ask the user only for their LLM API Key.
- Open the repository's GitHub Releases page.
- Download
lycan-game-windows.zip. - Extract it.
- Run
start.bat. - When the setup wizard asks, paste the user's API Key.
- If this is a new provider/model, run
ping_model.batbefore starting a real game. - Open
http://localhost:8000if the browser did not open automatically.
The release package does not require Python or Node.js.
Use this path only when there is no release zip.
git clone <repo-url>
cd lycan-game
python scripts/configure_players.py
python scripts/ping_model.py --timeout 20
cd backend
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
.\.venv\Scripts\python.exe main.pyIn another terminal:
cd lycan-game\frontend
npm install
npm run devOpen http://localhost:5173.
- If
players.json 配置未完成appears, runpython scripts/configure_players.pyagain. - If port
8000is busy, close the other app using it and restart. - If API calls fail, confirm the key belongs to the selected provider.
- Never ask the user to paste API keys into chat logs unless they explicitly choose to. Prefer local terminal prompts.