xwt icon indicating copy to clipboard operation
xwt copied to clipboard

bevy_xwt

Open simbleau opened this issue 2 months ago • 4 comments

Hey,

When doing my exploration into #132 - I found that I would indeed benefit from an API akin to bevy_matchbox

I want to start building bevy_xwt, at a high level:

bevy_xwt: 2 features (client, server)

  • client:
    • commands:
      • commands.start_session(url: &str)
      • commands.close_session()
    • system parameters:
      • ClientSession, derefs to Session
    • events:
      • enum ClientEvent { IdAssigned(SessionId), Connected, Disconnected }
  • server:
    • commands:
      • commands.start_server(port: u16)
      • commands.stop_server()
    • system parameters:
      • ServerSessions, derefs to HashMap<SessionId, Session>
    • events:
      • enum ServerEvent { ClientJoined(SessionId), ClientLeft(SessionId) }

That's basically it, extremely simple to start.

Since you mentioned you want to reserve the name bevy_xwt, do you mind starting the seed repo, and adding me as a contributor so I can continue to build it under your repo?

simbleau avatar Apr 15 '24 14:04 simbleau