I'm not suggesting you bring your players into a fantasy-world casino where they can lose their fantasy money to evil troll dealers or to wizards playing crooked poker
What I mean by the title is that an element of gambling could spice up your role-playing adventure and give players a nice challenge. It's a tip if you're stuck in the game invention
Basically, it's about forcing your players to choose between alternatives that involve varying degrees of risk and reward.
For example, let a group of treasure hunters decide how much of the treasure they want to carry back with them. It should be clear to them that carrying too much will risk the entire expedition.
It could be that they need to cross a body of water in a rickety ferry that becomes more and more unstable as the weight increases. Or if they take too much out of the treasure, the dragon
that guards it may discover the theft and come looking for them.
Players should be required to weigh risks against the reward they will get if they succeed. This creates excitement, and it will test the group's solidarity.
Players have different tastes about taking risks, and the debate on how much of a gamble the triumph is worth can become a real challenge. This creates some exciting dynamics in the game.
To have the gambling aspect work well, the alternatives should probably be pretty clear to the players. Somehow they should be able to make a rather precise assessment of the risk that's connected to the available alternatives
Just as an example, that rickety ferry shipment could be decided using a die roll that is modified with the amount of gold that's being carried.
Say, for example, that to make it across the water with the ferry, the players need to roll more than their gold cargo divided by 1000 with a roll of 2D6+4.
With 5,000 gold they are certain to make it, with more than 15,000 they will lose it all. Anything in between gives them a certain chance, which they can calculate if they want to.
Let some character in the companionship have the ability to estimate this die roll. It could be a technical or scientific ability. As usual, if that character doesn't come along or is side-tracked on the way, the group's odds worsen.
As you see, I'm not talking of inviting players to a fantasy baccarat game
with a dangerous secret dwarf agent. Force players to weigh pros and cons and you have set up a really nice gambling element in your role-playing adventure.