Skip to content

BACKEND: Game Room Engine & WebSocket API #3

@tosoham

Description

@tosoham

Implement the real-time core:

  • RoomManager class to track rooms, agent states, and player bets

  • WebSocket endpoints: /ws/{roomId} for agents & players to exchange messages

  • Pydantic models for message schemas

  • Graceful room teardown and reconnection handling

Deliverable: Fully functional real-time room engine.

See:

FastAPI WebSockets: https://fastapi.tiangolo.com/advanced/websockets/

Metadata

Metadata

Assignees

No one assigned

    Labels

    SSmall issuegood first issueGood for newcomersonlydust-waveContribute to awesome OSS repos during OnlyDust's open source week

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions