public int CheckPoints() {
		if(player.getPoints() == 21) {
			gameover = true;
			return 1; //Player gets blackjack
		}
		else if(player.getPoints() > 21) {
			gameover = true;
			return 2; //Player busts
		}
		else if(dealer.getPoints() == 21) {
			gameover = true;
			return 3; //Dealer gets blackjack
		}
		else if(dealer.getPoints() > 21) {
			gameover = true;
			return 4; //Dealer busts
		}
		else if(player.getPoints() == dealer.getPoints()) {
			gameover = true;
			return 5; //Push
		}
		else if(dealer.getPoints() >= 17 && player.getPoints() > dealer.getPoints()) {
			gameover = true;
			return 6; //Player wins
		}
		else if(dealer.getPoints() >= 17 && player.getPoints() < dealer.getPoints()) {
			gameover = true;
			return 7; //Dealer wins
		}
		else {
			return 0;
		}
	}