Set up the game class, the window, and the grid background.