programming GameScreen class