Playing Cards System
Playing cards is something you can use with a lot of gambling games, why not make a system for it?
For now the /roll system is totally randomized and has no order in it.
In playing cards there is an order and you can randomize the order every time you shuffle the cards.
In one deck there are 52 cards which you can slide them towards players.
Example: Classic Blackjack.
Classic Blackjack is the most popular and widely played game.
You have a dealer/bank and like 1 to 5 players. Those players get standard two cards, you win the hand if the card total is equal to 21 but should not exceed it.
If the card total is over 21 then it's a Bust deal and a losing hand. It should also be higher than the Dealer's total for you to win.
As a dealer you get also two cards but one is shown and one is the hole card (the face down card).
How to get playing cards?
You can buy them at a 24/7 how much decks you want to buy doesn't matter.
As in Blackjack you can use 1 to 8 decks or more.
Commands that would come handy:
/shuffle - Shuffles all your decks to a random order of cards. You also get every card you dealt back to your deck. Example: The deck order is:
Click--> |CURRENT| Dealer does /shuffle and the deck gets a new order |NEW| <--Click
As you can see the cards are in a different order than it was before.
So, that means that first card is number 1 and the last card is 52.
/deal - Deals a single card to a player, in Blackjack as an example, you deal the player on your left first, then move left to right down the remaining players. Finish by dealing yourself one card face down (/dealhide). Deal another card to each player and now you can give yourself a card face up.
/dealhide - Deals a card face down to someone or yourself. Face card down means that nobody can see the card!
/showcards - Shows all your cards that are face down.
/decks - With this you can set how much decks you want to choose. Example: you type /decks 5. Now you can deal 52x5 cards = 260 cards in total. So, you can deal with 5 decks 20 Queens. (Also a notification in the chat should be placed for all players nearby so they know how much decks are being used.)
If you have idea's, questions or feedback I would like to hear it!