How to make the whole game (canvas) scaled in height and width, on any device

You can try to use the scaling strategy I posted here.