public Cheat parse(String cheat) {
        String[] cheatArgs = cheat.split(" ");
        String code = cheatArgs[0];
        
        if(code.equals("add_gold") || code.equals(customGoldCheat())) {
            return new AddGoldCheat(cheat, model);
        } else if(code.equals("add_lives")  || code.equals(customLivesCheat())) {
            return new AddLivesCheat(cheat, model);
        } else if(code.equals("clear_all")) {
            return new ClearAllCheat(cheat, model);
        } else if(code.equals("win_game")) {
            return new WinGameCheat(cheat, model);
        } else if (code.equals("lose_game")) {
            return new LoseGameCheat(cheat, model);
        }
        return null;
    }