The Royale (TNG)
When the D finds some old NASA junk orbiting a strange new world, they beam down to find themselves in a shitty old novel. One long-dead astronaut later, they discover they’re trapped inside this hotel and casino and only Data’s ability to know when to hold ’em can break them free.