an analysis of the antiheroism in hamlet a play by william shakespeare Hamlet is the main character and protagonist in the play hamlet by william shakespeare hamlet is the prince of denmark he is the son of queen gertrude and king hamlet, who was murdered by his uncle claudius.