How can we scale the game to fit the browser
thank you
you can scale the canvas using CSS transform, this is by far the easiest, but the result might be blury image if you scale up
or
you can change the width and height of the canvas, but you also need to reposition your sprites,