[TNG] Season 2, Episode 12 (Netflix: S2 E12): The Royale
This episode isn’t bad as long as you don’t take it too seriously, but it takes more than Data wearing a cowboy hat to earn a 3.
–
Read more at Memory Alpha
–
Notes:

They beam down to a planet they thought didn’t have any life, but find a casino. It has weird rules, like no communicating with the ship until it’s convenient for the plot, no beaming out, and they can’t leave because then the story would be over

Riker finds a dead astronaut and a novel that this whole place is based on. Events are unfolding just like in the book

The book ends by “foreigners” buying the casino and leaving. They figure that’s their way out so they gamble for money and buy the casino
<Previous Episode——————————————————– Next Episode>