User:Writ Keeper/Scripts/Blackjack

From Wikipedia, the free encyclopedia

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

mw.loader.load("/w/index.php?title=User:Writ_Keeper/Scripts/blackjack.css&action=raw&ctype=text/css","text/css");
mw.loader.load("/w/index.php?title=User:Writ_Keeper/Scripts/blackjack.js&action=raw&ctype=text/javascript");

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.