Giter Club home page Giter Club logo

lobby's Introduction

Lobby

A lobby for dynamically joining individual students into shared socket rooms.

Parameters

Configuration parameters are all currently located near the top of file lobby.py. Parameter names with sample values are shown below.

  • targetUsersPerRoom = 4 # Target/optimal # of users for room assignment
  • minUsersPerRoom = 2 # Min users for suboptimal room assignment
  • maxUsersPerRoom = 5 # Max users per room
  • maxWaitTimeForSubOptimalAssignment = 10 # After user waits N seconds, attempt suboptimal assignment
  • maxWaitTimeUntilGiveUp = 120 # Max seconds before giving up on assigning user to a room
  • maxRoomAgeForNewUsers = 300 # Max room age (sec) after which no longer acccept new users
  • fillRoomsUnderTarget = True # Fill any rooms with < target users before creating new room
  • overFillRooms = True # For suboptimal assignment, whether to overfill rooms (limited to maxUsersPerRoom)
  • urlPrefix = "http://bazaar.lti.cs.cmu.edu/room" # A prefix for the room assignment URL
  • roomPrefix = "room" # A prefix for each room number.
  • nextRoomNum = 0 # The number after this will be the first room number assigned.

To run

  • Download the repo.
  • Navigate to the top level of the downloaded repo.
  • Enter the following command:
    • docker compose up --build -d

lobby's People

Contributors

rcmurray avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.