Commit Graph

19 Commits

Author SHA1 Message Date
moneromooo 53366012e1 always import user/link in modules 2015-02-14 12:15:49 +00:00
moneromooo d455985552 Use decimal functions to read amounts/units from string inputs 2015-02-02 13:11:52 +00:00
moneromooo c866a1b74f dice: fix the tiniest bias
Max value from the hash is 0xffffffff, not 0x100000000
2015-01-31 18:59:57 +00:00
moneromooo fb02c61653 dice: min/max multipliers are now configurable 2015-01-25 12:36:04 +00:00
moneromooo a6d4f07eec dice, blackjack: use the configured coin name in help 2015-01-24 16:58:14 +00:00
moneromooo cf122d032b Factor player balance check into IsBetValid and make min/max bets optional 2015-01-22 18:46:15 +00:00
moneromooo e0cd953dd4 Fix a few s/identity/nick/ in user facing messages 2015-01-21 22:00:22 +00:00
moneromooo 84f550a355 Add ban/unban commands 2015-01-21 18:26:48 +00:00
moneromooo b06520e1ea dice: fix typo in message 2015-01-20 18:00:02 +00:00
moneromooo 54531fdc3b Make sure to send help/etc in PM 2015-01-20 17:18:15 +00:00
moneromooo 75ebebc757 Move house_balance to betutils 2015-01-19 20:54:54 +00:00
moneromooo 7347480a86 dice: change the multiplier semantics to be hopefully more intuitive
x2 now means even odds - you pay your bet, and get a x2 payout back,
which leaves you with a profit equal to your original bet.

Minimum multiplier is bumped from 0.1 to 1.1 to reflect this change.
2015-01-19 19:39:43 +00:00
moneromooo ea25e9d41b Abstract away communications networks 2015-01-19 08:45:56 +00:00
moneromooo 7a4506a9e6 dice: invert target too when playing over
I'm an idiot :/
2015-01-18 09:05:59 +00:00
moneromooo 41e00ad742 dice: clarify the amount is in monero 2015-01-17 15:53:46 +00:00
moneromooo 9d6308b0b9 dice: allow over/under rolls 2015-01-17 09:02:37 +00:00
moneromooo 68ca830b05 Send dice game result to the channel if appropriate 2015-01-16 10:30:08 +00:00
moneromooo a3de014d0a Dice game commands are now public 2015-01-16 09:40:11 +00:00
moneromooo 5b89cbdad3 Add dice module 2015-01-15 14:50:07 +00:00