public int victory(){
		//more victory condition code
		if ((21 - this.ai.totalValue()) > (21 - this.player.totalValue())) {
			return 0;
		}else if ((21 - this.ai.totalValue()) < (21 - this.player.totalValue())) {
			return 1;
		}else {
			if (this.ai.totalValue() == 21 && this.player.totalValue() == 21) {
				if (this.ai.inHand() == 2 && this.player.inHand() > 2) {
					return 1;
				}else if (this.ai.inHand() > 2 && this.player.inHand() == 2) {
					return 0;
				}else {
					return 2;
				}
			}
			return 2;
		}


	}