Sam Marlowe: Who did it.
Albert Wiles: ...That's what they say, 'Whodunnit.'
Also known as a "mystery story" or simply a "mystery", Mystery Fiction is a genre where the plot revolves around a mysterious happening that acts as the Driving Question.
In a standard mystery, the explanation for the mystery is gradually revealed by the investigative process of the protagonists. This is accomplished through a mixture of intelligence, ingenuity, the logical interpretation of evidence, and sometimes sheer luck. Many mysteries use a Mystery Arc as the basis of their narrative structure, though variations on the theme can frequently be found.
Detective Fiction is a type of Mystery Fiction that focuses on a detective solving a crime, and the term is often treated as synonymous with Mystery Fiction.
Basic Classes of Mystery
- The Fair-Play Whodunnit: You know what the detective knows, and if you're smart enough, at a certain point, you can solve it ahead of him without being Genre Savvy.
- The Clueless Mystery: The author doesn't provide enough clues for the audience to figure it out.
- The Reverse Whodunnit: The reader knows who, what, where, when, and why, perhaps in more detail than the detective will ever know. For the reader, the question is: How will the detective solve what appears to be a perfect crime?
- Amateur Sleuth: A character with no formal connection to law enforcement regularly solves crimes, but does not get paid for it.
- Cozy Mystery: Sex and violence are downplayed or treated humorously, and the crime and detection take place in a small, socially intimate community. The detectives in such stories are nearly always amateurs and frequently women. They are typically well-educated, intuitive, and often hold jobs that bring them into constant contact with other residents of their town and the surrounding region. This frequently features the Little Old Lady Investigates, and may or may not contain paranormal elements.
- Great Detective: The classic Great Detective relies on his personal powers of deduction, education and insight to solve crimes.
- Hardboiled Detective: A tough, cynical guy with a gun and a lot of Street Smarts, who solves mysteries with dogged persistence rather than astounding insight, the Hardboiled Detective was America's Darker and Edgier response to the classic ideal of the Great Detective. This type of Mystery Fiction is often associated with Film Noir.
- Historical Detective Fiction: Detective and mystery stories set in the past.
- Paranormal Investigation: Based on the investigation of actual or alleged paranormal activity, this subgenre by its very nature tends to be less realistic than the others.
- Police Procedural: The emphasis is on realistic or at least semi-realistic depictions of modern police investigative techniques.
- For just a few of the other ways of classifying mysteries, see here and here.
For a brief history of Mystery Fiction, see the Trivia page
- Caper in the Castro: An LGBT first-person whodunnit adventure.
- Deadline from Infocom is an Interactive Fiction game where the player has 12 (in-game) hours to solve a Locked Room Mystery.
- Discworld Noir combines this trope with Terry Pratchett's Discworld series, casting the player as a citizen who becomes a detective because of the Theory of Narrative Causality.
- Judgment has an ex-defense attorney named Takayuki Yagami who's forced to leave his job and be a private eye after his client, gotten acquitted of a previous criminal charge, was accused as the main suspect in the death of his girlfriend. He suspects that someone blamed his client for being a murderer.
- Kona is kicked off by Private Investigator Carl Faubret being hired by rich industrialist William Hamilton to investigate several cases of vandalism that have occurred on his property.
- The Painscreek Killings is a puzzle-heavy Environmental Narrative Game in which a journalist tries to solve a number of unsolved murders which took place in a now-empty town a few years prior. Most of the clues are found in old letters and journals, and you can make a guess as to who did it on the basis of these — but to reveal the whole story, you need to find the murderer, who never actually left.
- Persona 4 follows a group attempting to find the one who is killing people by throwing them into a unknown realm inside the television.
- Read Only Memories: A retraux LGBT first-person adventure.
- YIIK: A Post-Modern RPG tells the story about a group of friends wanting to learn the truth behind the circumstances of a woman's disappearance inside an elevator after witnessing an otherworldly force abduct her. Their search leads them to discovering a conspiracy, one that puts the fate of the world at stake.
- World of Horror centers on a seaside town in Japan in the 1980s in the middle of an economic boom where cults and serial killers roam the streets while monsters and Old Gods are about to come out of the woodwork.
- Danganronpa: Sixteen students get trapped within a unprecedented location and their only choice of escape is to commit the perfect murder without being discovered. The protagonist of each game must find the culprit of each killing, as well unravel the truth behind the location of where the killing games occurs.
- Imabikiso, partially since the hero is trying to investigate where the drug Vision is being made from.
- War: 13th Day first challenges you to solve the mystery of what happened to the sun. Later, you're tasked with piecing together the truth between two unreliable narrators. The True End gives you the biggest mystery of all: who are you?