public void run()
	{	
		while (!gameover)
		{	
			while (!this.myturn)
			{ }				
			this.out.println("play");
			try
			{				
				while ((letter=in.readLine())==null)
				{ }
				if (!myturn)
					letter="wastedturn";
			  	if (!letter.equals("wastedturn"))
				{				  
					x=Integer.parseInt(letter);
					y=Integer.parseInt(in.readLine());
					System.out.println("shot received: "+x+","+y);
					results=BattleshipServer.getProtocol().results(x,y);
					this.out.println("results");
					System.out.println("results:  "+results);
					this.out.println(results);
					System.out.println("results sent");
				}				 
			}
			catch(IOException e){}			
			myturn=false;			
		}
		/*
		while (!gameover)
		{
			
			
		}*/		
	}