A genre is a specific type of music, film, or writing. ... In film or literature, the genre is determined by the subject, setting or plot of the story. When you are wandering around a book store, books are usually arranged by genre.
It is ironic because it reminds us that Hamlet had the chance to kill the King while he was praying. Also because they will all die in the end because of their scheme.