@Override
   public int getScore(String p) {
         if(p.equals(player1)) {
             return this.score1;
         }
         else if (p.equals(player2)) {
             return this.score2; 
         }   
         return 0;
   }