function init(){
	//Canvas
	resize(); //Set initial dimensions

	ctx = canvas.getContext("2d");

	//Start game loop

	window.requestAnimationFrame(function(){
		update();
		render();
	}, canvas);
}
//Initialize game (called by login.js)
Initialize game (called by login.js)
Initialize game ( called by login . js )
function init(){
	resize(); 
	ctx = canvas.getContext("2d");
	window.requestAnimationFrame(function(){
		update();
		render();
	}, canvas);
}
function init ( ) { resize ( ) ; ctx = canvas . getContext ( "2d" ) ; window . requestAnimationFrame ( function ( ) { update ( ) ; render ( ) ; } , canvas ) ; }
Initialize game (called by login.js)
Initialize game ( called by login . js )
//Canvas //Set initial dimensions //Start game loop