Game Class has NullPointerException
<p>I cant seem to get the java program running, here's the code and I keep getting the error </p>

<pre><code>Welcome to our card guess 1.0 game!

Exception in thread "main" java.lang.NullPointerException
at GuessingGame.playGame(GuessingGame.java:84)
at GuessingGame.main(GuessingGame.java:142)
</code></pre>

<p>According to the error, it's an error at the <code>GuessingGame</code> class, or it could be because I missed out a bracket or two, does anyone see where is the mistake?</p>

<pre><code>class Player{

    String name;
    Card card1,card2;

    Player(String name){
        this.name = name;
        card1 = null;
        card2 = null;
    }

    public void acceptDeal(Card card, Card card2){
        Random r = new Random();
        int value = r.nextInt(13) + 1;
        card1 = new Card(value);
        value = r.nextInt(13) + 1;
        card2 = new Card(value);
    }

    public int getHandStrength(){
        int strength = card1.getValue() + card2.getValue();
        return strength;
    }

    public String toString(){
        String cards = new String();
        cards = "Card 1: "+card1.getValue()+"\nCard 2: "+card2.getValue();
        return cards;
    }
}

class Card{

    int value;

    Card(int value){
        this.value = value;
    }

    public int getValue(){
        return value;
    }
}

public class GuessingGame
{
    private static Player house;
    private static Player player;

    private static int wins;
    private static int loses;

    private static Scanner scan;

    /**
     * Initialise the game state.
     */
    public static void init()
    {
        Player house = new Player("House");
        Player player = new Player("Player");
        wins = 0;
        loses = 0;
        scan = new Scanner(System.in);
    }

    /**
     * Used to simulate playing our game.
     */
    public static void playGame() 
    {

        char option, playAgain;
        int houseHandStrength = 0, playerHandStrength=0;

        System.out.println("Welcome to our card guess 1.0 game!");
        System.out.println();

        do {
            // Deal cards to the house and player.
            house.acceptDeal(new Card(houseHandStrength), new Card(houseHandStrength));
            player.acceptDeal(new Card(playerHandStrength), new Card(playerHandStrength));      

            System.out.println(house);

            // Determine whether the player wants to play this hand.
            do {
                System.out.print("Deal cards? (Y/N) ");
                option = Character.toLowerCase(scan.next().charAt(0));
            }
            while (option != 'n' &amp;&amp; option != 'y');

            if (option == 'y')
            {
                System.out.println(player);

                // Display hand strength of both players.
                houseHandStrength = house.getHandStrength();
                playerHandStrength = player.getHandStrength();
                System.out.println("The dealer's hand strength is: " + houseHandStrength);
                System.out.println("Your hand strength is: " + playerHandStrength);
                System.out.println();

                // If the player has a stronger hand.
                if (player.getHandStrength() &gt; house.getHandStrength())
                {
                    System.out.println("** You won the hand! **");
                    wins++;
                }
                else {
                    System.out.println("The house wins this round!");
                    loses++;
                }
            }

            // Display the win/lose statistics.
            System.out.println("Current wins: " + wins);
            System.out.println("Current loses: " + loses);

            // Prompt whether the user wants to play again.
            do {
                System.out.print("Would you like to play again? (Y/N) ");
                playAgain = Character.toLowerCase(scan.next().charAt(0));
            }
            while (playAgain != 'n' &amp;&amp; playAgain != 'y');           

            System.out.println();
            System.out.println("*******************************************************");
        }
        while (playAgain == 'y');

        System.out.println();
        System.out.println("Thank you for playing!");
    }

    public static void main(String[] args)
    {
        init();
        playGame();
    }
}
</code></pre>
