an analysis of the soliloquies of hamlet in a play by william shakespeare Hamlet, the main character of william shakespeare's play hamlet, is one of the most complex characters ever created his intricacy can be seen in the amount of soliloquies he speaks throughout the play.