Hamlet alone devises the plan to stage The Murder of Gonzago (the “play within a play”) before King Claudius. He does not involve his friends in the arrangement. His goal: reenact his father’s murder to gauge Claudius’s reaction and confirm the ghost’s accusation.