File size: 462 Bytes
414dc55
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""HTTP API layer for Case Zero.

The whole game is served by a single ``gradio.Server`` (a FastAPI subclass): it mounts
the built Preact pixel-art frontend as static files at ``/`` and exposes the game's JSON
/ SSE endpoints under ``/api``. Nothing is hosted outside this one Gradio process, so the
app stays a self-contained Off-the-Grid Hugging Face Space.
"""

from __future__ import annotations

from .server import build_server

__all__ = ["build_server"]