First of all, I don't like lotteries. I like blackjack. I therefore think it would be unfair for zero-trust lotteries to be added to the blockchain unless blackjack is also added. Would anyone else like to add something? (Poker would be pretty cool I think.)
I think you could emulate most gambling games, including blackjack assuming the
players are the best players possible as they would use a computer to decide how
to play and could, for that matter, be automated.
You just need to generate a random number to know the state of the shuffled deck(s) and another random number to know the state of how the players will play (that will only depend on when they enter and leave the game).
It would be very tricky to emulate blackjack with a lottery like this but I'm pretty sure it is possible, if you could concede on the time constrains.
I'll give you an example of how you could emulate a roulette.
You need an address for each of the odds that enforces the rule that when the total amount at sake required for the win of the bet of the first player is fulfilled the winner is decided.
For instance, in roulette, you have bets that have odds 50/50, like red/black, odd/pair, 1-18/19-36.
So, to place such a bet you would have a lottery address designed so that once the total amount of bets surpasses 2X the bet of the first bet placed the winner outcome is decided, sending change of the surpassed amounts back to
the corresponding players.
It is complicated, but I am pretty sure that if you can concede on the time constrains, such gambling games could be emulated to a certain degree.
Secondly, unregulated lotteries are illegal in many (most?) jurisdictions. Although transactions can be used for either legal or illegal purposes, unregulated lotteries would always be illegal in those jurisdictions. The fact that something is illegal isn't reason enough to avoid it, for example if it were added to right some terrible evil, but I really don't see lotteries as an inalienable human right that Bitcoin should concern itself with.
I'm fond of things that liberate people, rather. And I sense something quite liberating about this kind of lottery. You would be able to play an hazardous game without a sense of loss.