Using MoBubby is notably simple. To begin using MoBubby, we first need to include the necessary files.
	<link rel="stylesheet" href="">
	<script src=""></script>
Then we call moBubbyConnect whenever we're ready to connect to MoBubby. moBubbyConnect takes four arguments:

  • max users: the maximum numbers of users per a session
  • connect: a function that executes once the user is connected
  • disconnect: a function that executes once the user is disconnected
  • receive: a function that executes when new data is received
			console.log("you are connected");
			console.log("you are disconnected");
			console.log("data received: " +;
Obviously you'll need to send data at some point. To do so, use moBubbySend. Simply pass it the ASCII data you'd like to send.
	moBubbySend( asciiStringData );
If you'd like to refer to the current user's name, you can use the variable moBubbyProfile. That's it! If you would like to see a simple example of MoBubby at work, click here.