public void parseMove(String token) {
        int bet = 0;
        int moveIndex = 1;
        int betIndex = 2;

        String[] split = token.split(" ");

        int index = getPlayerIndex(split[0]);
        Player player = getPlayer(index);

        if ("posts".equals(split[1])) {
            moveIndex = 2;
            betIndex = 4;
        }

        State state = parseState(split[moveIndex]);

        if (state == State.ANTE) {
            betIndex = 3;
        }

        if (state != State.CHECK && state != State.FOLD) {
            bet = GameService.getInt(split[betIndex]);
            bank = bank + bet;
            pot = pot + bet;
        }
        player.addMove(state, bet);
        setPlayer(index, player);
    }