Split the graphical functions to enhance structure

Added firstGame parameter to newGame()