public class HumanPlayer extends Player
{
   Move move; 
   HumanPlayer(Game game, String id) 
   {
      super(game, id); 
      move = new Move(); 
   }

   synchronized public Move makeMove() 
   {
      try
      {
         wait();
      }
      catch(InterruptedException e)
      {
         System.err.println("Exception:  " + e); 
      }  
      return move;
     
   }
   

   synchronized public void selectCell(int x, int y) 
   {
      move.col = y;
      move.row = x;
      notifyAll();
   }
}
