Updated Game class to open a window