protected void updateMatch(String key, String value) {
		if( key.equals("round") ) {
			round = Integer.valueOf(value);
            table = new Card[0];
		} else if( key.equals("smallBlind") ) {
			smallBlind = Integer.valueOf(value);
		} else if( key.equals("bigBlind") ) {
			bigBlind = Integer.valueOf(value);
		} else if( key.equals("onButton") ) {
			onButton = value.equals(myName);
		} else if( key.equals("pot") ) {
			pot = Integer.valueOf(value);
		} else if( key.equals("table") ) {
			table = parseCards(value);
		} else if( key.equals("sidepots") ) {
			sidepots = parsePots(value);
            currentBet = ( sidepots.length > 0 ) ? sidepots[0] : 0;
		} else {
			System.err.printf("Unknown match command: %s %s\n", key, value);
		}
	}