template method to initialize the game