draw game in center of browser window