Hamlet is a play written by William Shakespeare between 1599-1601. It explores Hamlet's famous soliloquy about whether it is better to endure life's struggles or take arms against a sea of troubles. The story follows Hamlet's quest to avenge his father's death at the hands of his uncle, who marries Hamlet's mother.