User:Writ Keeper/Scripts/Blackjack

To install, add the following lines to your common.js page:

Once you've done so, you can return to User:Writ Keeper/blackjack and start playing!

Blackjack pays out 3:2, and dealer stands on soft 17. If you use the "I'm out" button when you stop playing, your bankroll will persist across sessions and even computers (it's attached to your Wikipedia account). It simulates 6 decks, shuffling on the first new deal after 50% of the deck has been used. Insurance isn't implemented, but eh.