socketmoor

0.0.1 • Public • Published

Socketmoor

A very basic framework for room-based WebSocket communication meant for games.

Assumptions:

  • Users and rooms have an unchangeable unique numeric id.

  • Users and rooms have a changeable unique string sid.

  • User sids are unique only in rooms.

  • A client can only be present in a single room and must leave it to enter another.

  • Rooms are created when a client wants to enter a rooms that doesn't exit.

  • Rooms are destroyed when all clients leave.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    2

Package Sidebar

Install

npm i socketmoor

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • paul-nechifor