private void play()
	{
		game.updateP1(getPlayerStats(p1) + getPlayerSkills(p1));
		game.updateP2(getPlayerStats(p2) + getPlayerSkills(p2));
		
		while (p1.isAlive() && p2.isAlive())
		{
			if (!states.isWaiting())
			{
				
				game.updateP1(getPlayerStats(p1) + getPlayerSkills(p1));
				game.updateP2(getPlayerStats(p2) + getPlayerSkills(p2));
				
				if (states.getTurn() == 1)
				{
					if (states.isSuccessful())
					{
						game.removeSkills();
						game.addNext();
						states.setSuccess(false);
						states.setWaiting(true);
						p1.setMana(p1.getMana() + p1.getManaRegen());
					}
					else
					{
						game.setLog("It is " + p1.getName() + "'s turn.");
						game.updateLog();
						game.addSkills(p1, p2);
						states.setWaiting(true);
					}
				}
				
				else if (states.getTurn() == 2)
				{
					if (states.isSuccessful())
					{
						game.removeSkills();
						game.addNext();
						states.setSuccess(false);
						states.setWaiting(true);
						p2.setMana(p2.getMana() + p2.getManaRegen());
					}
					else
					{
						game.setLog("It is " + p2.getName() + "'s turn.");
						game.updateLog();
						game.addSkills(p2, p1);
						states.setWaiting(true);
					}
				}
			}
		}
	}