package com.mssngvwls;

import org.springframework.stereotype.Service;

@Service
public class GameFactory {

    private final GamePhraseSelector phraseSelector;

    public GameFactory(final GamePhraseSelector phraseSelector) {
        this.phraseSelector = phraseSelector;
    }

    public GameState startGame(final int numberOfCategories, final int numberOfPhrasesPerCategory) {
        return new Game(phraseSelector).startGame(numberOfCategories, numberOfPhrasesPerCategory);
    }
}

@@ -294,190 +294,62 @@
 Game
-State startGame(final int numberOfCategories, final int numberOfPhrasesPerCategory) %7B%0A        return new Game(phraseSelector).startGame(numberOfCategories, numberOfPhrasesPerCategory
+ createGame() %7B%0A        return new Game(phraseSelector
 );%0A 

Return the Game object from the factory as we need it to be able to guess phrases