A literary device used primarily in film in which the protagonists' seemingly impossible dilemma is solved through an unexpected and improbable gambling windfall, such as winning the jackpot.
Moviegoer 1: Couldn't they have thought of a better way for them to pay him back than just winning $80,000 in blackjack?

Moviegoer 2: Yeah, the writers pulled a total deus ex slot machina...
by atds June 21, 2009
Get the deus ex slot machina mug.
In Dungeons and Dragons or any other pen and paper RPG, when the Dungeon Master (or DM) invents or gives a way for the players to live when they normally would have died.
Our DM is really easy to play with. Any time we're about to die, a little De-eMus ex Machina comes along and saves us.
by Jim Moak January 6, 2008
Get the De-eMus ex Machina mug.
In works of fiction; the use/revelation of a character’s sexuality to advance the plot. Similar to Deus ex Machina, but gayer.
Girl 1: “Omg, Madonna was literally dying till she realised she was actually in love with Shakira, then she got up and started dancing! That’s the power of love for you.”

Girl 2: “No, that’s the power of Gayus ex Machina and bad storytelling.”
by XaneiFoxx May 12, 2020
Get the Gayus ex Machina mug.