public static void main(String[] args)
	{
		boolean noWinner=true;  //This boolean will stay true while both players have cards
		
		Player p1=new Player();
		Player p2=new Player();
		Turn turn;
		int winner;
		Card c1=new Card();
		Card c2=new Card();
		
		//initialize deck
		Deck deck=new Deck();
		//shuffle deck
		deck.shuffle();
		//deal deck 
		dealDeck(deck,p1,p2);
		//turn phase
		noWinner=checkWinner(p1.getCardCount(),p2.getCardCount());
		while(noWinner)
		{
			//put card forward
			c1=p1.getTopCard();
			c2=p2.getTopCard();
			turn=new Turn(c1,c2);
			//flip card
			
			//show winner
			while(turn.inProgress())
			{		
				winner=turn.compareCards();
				/*This method will return either 0, 1 or 2, to indicate 
				 *the winning player
				 *If 2 is returned, it is either the computer or the seconds player
				 *If 1 is retruned, it is player one
				 *If 0 is returned, it is a war
				 */
				if(winner==1)
				{
					turn.giveWinnerCards(p1);
				}
				if(winner==2)
				{
					turn.giveWinnerCards(p2);
				}
				if(winner==0)
				{
					turn.war(p1,p2);
				}
				//noWinner=checkWinner(p1.getCardCount(),p2.getCardCount());
			}
			//reset play field
			
			p1.shufflePile();
			p2.shufflePile();
			noWinner=checkWinner(p1.getCardCount(),p2.getCardCount());
		}
		
	}