public void keyPressed(KeyEvent e) {
		//If 'N' key is pushed reset the game.
		if (e.getKeyCode() == KeyEvent.VK_N) {
			try {
				resetGame();
			} catch (InterruptedException e1) {
				e1.printStackTrace();
			}
		}
		//If "Enter" is pushed reset only if the game is over
		if (e.getKeyCode() == KeyEvent.VK_ENTER && winner != null) {
			try {
				resetGame();
			} catch (InterruptedException e1) {
				e1.printStackTrace();
			}
		}
	}