Updates the wager text to show the wager for both hands instead of the original wager since splitting doubles the bet.
Adds the ability to split face cards/ten which is allowed in the rules most casinos (it's also universally terrible so idk why anyone would actually split 10s).
Adds the ability to double down on 9 as requested by annoyingthegoyim, probably increases EV a very small amount but not really noticeable since 9 is a pretty rare opening hand (and worse than double down on 10 or 11).
Moves the split button to after hit/stay since some users complained about splitting by accident due to button placement
Co-authored-by: Chuck <dude@bussy.com>
Reviewed-on: rDrama/rDrama#203
Co-authored-by: top <top@noreply.fsdfsd.net>
Co-committed-by: top <top@noreply.fsdfsd.net>
Holy shit this was a massive pain, done now though lol.
I recommend additional testing, I mean I did test this a ton locally but I also spent 3 hours fixing bugs and maybe missed something
Co-authored-by: Chuck <dude@bussy.com>
Reviewed-on: rDrama/rDrama#197
Co-authored-by: top <top@noreply.fsdfsd.net>
Co-committed-by: top <top@noreply.fsdfsd.net>
This commit touches more files than it ought to because this change
required untangling some circular imports, notably a lingering import
of files.helpers.slots in helpers.actions (presumably from old Snappy
gambling logic) and the User.active_blackjack_game accessor. Otherwise,
the logic is fairly straightforward.
* Add roulette file
* Rename variable to avoid name collission
* Add basic route and create new template for game
* More work on the roulette template
* Initial connection of front-end roulette to back-end roulette
* Add to cron job
* Pass bets to the front end
* Update front-end looks
* Add stackable poker chips for bets
* Minor last changes
* Handle minimum bets
* Add bet table