The Royale


"The Royale" is the 12th episode of the of the American science fiction television series , the 38th episode overall. It was originally released on March 27, 1989, in broadcast syndication.
Set in the 24th century, the series follows the adventures of the Starfleet crew of the Federation starship Enterprise-D. In this episode, Riker, Data, and Worf become trapped in a strange hotel on a planet otherwise incapable of supporting human life.

Plot

Following a tip from a Klingon ship, the Federation starship Enterprise, under the command of Captain Jean-Luc Picard, finds debris from an Earth ship orbiting an uninhabitable alien planet. A sample of the debris beamed aboard shows NASA markings and a 52-star American flag, meaning the debris of the ship is several hundred years old, and has traveled far beyond the capability of ships of that era. Scans of the planet reveal a small anomalous area capable of supporting human life, so Commander Riker, Lt. Worf, and Lt. Commander Data beam down to investigate, and find a revolving door in an otherwise blank environment. Upon entering they find themselves in an old Earth-style hotel and casino called The Royale, where they are cut off from contact with the Enterprise.
The away team soon discovers they are trapped inside the casino, and after making several unsuccessful attempts to leave, they decide to explore the building. They find the desiccated but preserved remains of Col. Steven Richey, a NASA astronaut, and a pulp novel entitled Hotel Royale. Upon reading Richey's logs, they learn that his starship was accidentally contaminated by an unknown race of aliens, then thrown across the galaxy, and he was the only survivor. Taking pity on him, the aliens created The Royale for him, thinking the novel's story represented humans' preferred way of living, whereas Richey found it unbearable thanks to the poor quality of the novel.
Riker, Data, and Worf realize that the plot has been recreated in detail by the aliens and is playing out in front of them, and surmise that they might be able to leave if they are scripted to do so. They assume the role of a trio of "foreign investors" described in the novel and, taking advantage of Data's ability to precisely manipulate dice at the casino's craps table, win enough money to buy out the Royale, and are then able to leave.

Production

The episode was written by Tracy Tormé under the pseudonym of Keith Mills. Tormé had his name removed from the credits after he became unsatisfied with rewrites. His original idea was a surreal nightmare about an astronaut stuck forever in his most pleasant memory.

Historical/scientific accuracy

Zack Handlen of The A.V. Club rated it B and wrote that the episode is "watchable" but does not live up to his memories. In a ranking of every Star Trek:The Next Generation episodes, "The Royale" was ranked 166th by Medium in 2016.
In 2019, Screen Rant ranked "The Royale" the number one funniest episode of Star Trek: The Next Generation.