Java: Resetting all values in the program
<p>I am working on this program where at the end of the game I ask the user if they want to play again.  If they say yes, I need to start a new game.  I made a restart() method:</p>

<pre><code>public void restart(){
    Game g = new Game();
    g.playGame();
}
</code></pre>

<p>However when I call this method some of the values in my program stay at what they were during the previous game.</p>

<p>Is there a game to just clear everything and create an new instance of the game with all the default values?</p>
