Truly
Cross-platform
Use the state of the art HTML5 technology to develop the game once and deploy it on any platform.
Really
Multiplayer
Create a real-time multiplayer experience for more fun and engaging games.
Focus
on game design
Save up to 80% of the your time. Basbosa handles common complex tasks to let you focus on your game design.
Easy to use
One line!
Basbosa is very easy to use with only a single line of code.
TRY IT NOWHub 43 introduces "Basbosa", a new platform for developing real-time multiplayer cross-platform games in few easy and time efficient steps.

SAMPLE GAME

Open the page from another device or browser and see the multiplayer experience!

SAMPLE CODE

This is a sample code that shows how to handle players communication easily in basbosa.

var arrowKeys = {
		LEFT : 37, 
		UP : 38, 
		RIGHT : 39, 
		DOWN : 40
};

// When user presses one of the arrow keys
// update the direction of the user spaceship
// and send the new direction to other users

$('body').live('keydown', function(e) {
	var keycode = e.keyCode;
	
	for (var direction in arrowKeys) {
		if (keycode == arrowKeys[direction]) {
			
			$('.my-ship').data('direction', direction);
			
			Basbosa('j').ltrigger('ui.public.move', {
				playerId : myId, 
				direction : direction, 
				position : $('.my-ship').position()
			});			
			break;
		}	  		
	}
});


// When a public.move message is received
//from the server, update the ship with direction
// and position
Basbosa('SocketClient').lon('public.move_result',
	function(e, message, next) {	
		$('.player-' + message.playerId)
			.data('direction', message.direction)
			.css({
				top 	: message.position.top,
				left 	: message.position.left,
			});
	}
);

See what you can do with Basbosa!