Plays, all of them not just Shakespeare, are written to be performed. If your teachers didn't have you perform plays and also watch professional and amateur performances they were derelict in their duties as teachers.
Performance isn't just rote recitation.