public static void main(String [ ] args)
	{
	      player player1 = new player("x");
	      player player2 = new player("o");
	      boolean cont = true;
	      int input = -1;
	      String continput = "";
	      String winner = null;
	      boolean player = true;
	      while(cont){
	    	  Board playBoard = new Board();  
	    	  StdOut.print("input placement for your symbol (0-8)");
	    	  StdOut.println();
	    	  while(true){
	    		  while(!playBoard.isValid(input)){
	    			  input = StdIn.readInt();
	    		  }
	    		  
		    	  if(player){
		    		  playBoard.inputSymbol("x", input);
		    		  player = !player;
		    	  }
		    	  else{
		    		  playBoard.inputSymbol("o", input);
		    		  player = !player;
		    	  }
		    	  printBoard(playBoard);
		    	  winner = playBoard.Win();
		    	  if(winner != null){
		    		  if(winner == player1.symbol()){
		    			  StdOut.println("player 1 wins");
		    			  player1.win();
		    			  player2.lose();
		    		  }
		    		  else{
		    			  StdOut.println("player 2 wins");
		    			  player1.lose();
		    			  player2.win();
		    		  }
		    		  break;
		    	  }
		    	  
	    	  }
		      StdOut.println("score is player1: "+ player1.score() + " player2: " + player2.score());
	    	  StdOut.println("continue?(y/n)");
		      continput = StdIn.readString();
		      if(continput.toLowerCase() == "y") {
		    	  cont = true;
		      }
		      else {
		    	  cont = false;
		      }
		      
	      }
	}