| title: Multiplayer UNO | |
| emoji: ๐ | |
| colorFrom: red | |
| colorTo: blue | |
| sdk: docker | |
| app_port: 7860 | |
| # Multiplayer UNO | |
| This is a Hugging Face Spaces-ready multiplayer UNO game built with FastAPI, | |
| WebSockets, and a browser frontend. | |
| ## Features | |
| - Room-code based online multiplayer. | |
| - 3 to 15 total seats. | |
| - Host-controlled Bot seats and Bot difficulty. | |
| - Strict same-card jump-in rule. | |
| - Server-authoritative hands, deck, discard pile, turns, draw stacking, wild color | |
| selection, rankings, and Bot moves. | |
| - The original `uno.html` is left unchanged. The multiplayer page reuses its CSS | |
| through `/uno-style.css`. | |
| ## Local Run | |
| ```bash | |
| pip install -r requirements.txt | |
| uvicorn app:app --host 0.0.0.0 --port 7860 | |
| ``` | |
| Open `http://localhost:7860`. | |
| ## Hugging Face Spaces | |
| Create a Docker Space and upload this repository. The Space configuration in | |
| this README exposes port `7860`, matching the Dockerfile command. | |