XenoXanadu's AI games run on a model you host. Nothing is sent to us — the browser talks straight to a model on your own machine.
Browsers block a public HTTPS page from reaching your localhost model
(Private Network Access + CORS), so the AI opponents are available when you run XenoXanadu
locally: cd public && python3 -m http.server 8000, then open
http://localhost:8000/. The connection tester below only works from a local copy
(or against a public HTTPS tunnel to your model).
This is shared across every AI game — set it once here.
ollama pull llama3.2:3b
OLLAMA_ORIGINS="…" ollama serve
On macOS/Linux that's one line in a terminal. On Windows, set OLLAMA_ORIGINS as a user environment variable, then restart Ollama.
Anything that speaks the OpenAI /v1/chat/completions API will connect — pick OpenAI-compatible (or leave it on Auto-detect):
http://localhost:1234server — endpoint http://localhost:8080The browser hides why a local request failed, so check these in order:
Ollama is running.OLLAMA_ORIGINS command above.Prefer zero browser hassle? Run the whole arcade locally:
cd public && python3 -m http.server 8000 and open http://localhost:8000/ai-setup.html — then everything is plain http://localhost and the blocks above disappear.