0.0.1 • Published 10 years ago

socketmoor v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

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

0.0.1

10 years ago