uno / README.md
cacodex's picture
Implement multiplayer UNO WebSocket Space
86ff9a7 verified
|
Raw
History Blame Contribute Delete
919 Bytes
metadata
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

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.