public void eatPellet(int column, int row) throws InterruptedException 
    {
  
        if (cells[column][row].getType() == 'd') {
            score                   += 10;
            cells[column][row].type = 'o';
              
        }
        
        if (cells[column][row].getType() == 'p' || cells[column][row].getType() == 'b') {
           
            score                   += 50;
            cells[column][row].type = 'o';
            if(!maze.mortal) 
                maze.changeMortal();
            else
                timer=0;
        }
    }