17.25 Cardtables

Cardtables are an artifact which give the player freedom to play the card game they desire.

There are a variety of already pre-defined games available to play, as well as allowing the owner to dictate custom games. The player is control of their own destiny.


-- Cardtable Config: --
While you are playing at a cardtable, you may forgo the need to prefix all the commands with CARDTABLE by utilising CONFIG CARDTABLE BRIEF ON.

This means, when you would normally enter "CARDTABLE BET 200 GOLD" you may instead enter "BET 200 GOLD" to achieve the same goal.


-- Command Breakdown: --
CARDTABLE SETUP
   - Artifact owners will be required to drop the card table onto the ground
     and then use this command to enable the table to function, allowing
     players to join the game.
   - This will freeze the reset timer, so after an hour this artifact will not
     be resetting back to the player's inventory.
     
CARDTABLE PACKUP
   - This will move the artifact back to the player's inventory and restore
     the reset timer.
     
CARDTABLE DEALER <player>
   - Assigning a dealer is an important aspect to the card table. The Dealer
     is the person who has almost complete control over how the game runs upon
     the table.
   - The dealer is able to deal cards to players, declare winners and force
     hands to be shown to the entire room.
     
CARDTABLE SET <options>
   - Various options are configurable to place limitations on the card game.
   - Most settings can not be edited if a particular set of game rules are in
     place.

CARDTABLE JOIN GAME 
   - If a card Table is set up in the room, any player may decide to the join
     the table. Once you take a seat at the card table, a player profile is
     automatically made for you and will last until you leave.
   - Some Card Tables will have a BUY_IN price. This means that you will need
     to have the appropriate gold out in your inventory before joining the
     game. This gold is then used as your pool/stack and you will be betting
     from this amount only.

CARDTABLE LEAVE GAME
   - Leaving the game will destroy your player profile.
   - You will leave the game with any gold left in your pool.
   - Leaving the room or quitting Imperian has the same effect as if you entered
     this command.
     
CARDTABLE BET <#> GOLD
   - Bets are only available when playing a pre-defined game. This is to limit
     the ways of losing gold. If you wish to bet upon a custom-game, just hand
     your gold to the winner at the end.
   - If the card table is using a pool/stack, you will bet from the amount that
     is available.
   
CARDTABLE PLAYERS
   - This command displays what players are seating/playing at a card table.
     It gives a break down on how many cards a player holds, how many cards
     have been discarded, their current bet and how much gold is left in their
     pool.
   - The total value of the pot is also displayed here.

CARDTABLE VIEW CARDS
   - This allows players and spectators to see what cards are visible on the
     table.
   - This allows players to see the cards they have in their hand.
   - The numbers that appear next to card names are how the cards are referred
     to internally. Each card in a 52 deck is assigned a number. When passing
     or discarding cards, you will be required to reference the number.

CARDTABLE VIEW
   - This allows everyone to view the current settings of the card table.

CARDTABLE POPULATE DECK
   - Populating the deck is very similar of getting out a new deck of cards and placing it on the table.

CARDTABLE SHUFFLE CARDS
   - All cards on the table and discarded pile are added to the deck and shuffled. The entire deck of cards is then shuffled, reordering the cards.

CARDTABLE CLEAR <TABLE|HANDS>
   - This will remove a particular set of cards and place it in the discarded pile.
   
CARDTABLE BURN NEXT
   - The next card in the deck is removed.
   
CARDTABLE DEAL <#> CARDS TO <player|ALL|TABLE> [OPEN]
   - Dealing is an important function that allows players to play upon the
     card table.
   - Using ALL will allow you to deal to all players. If your card game
     constitutes that a player performs certain actions before receiving
     then you should not use ALL.
   - Using TABLE deals cards directly to the table. These are public cards and
     anyone can see them.
   - Using the OPEN option, you are able to display the cards to the entire
     room as you deal them.

CARDTABLE WINNER <player|SPLIT|NONE>
   - Declaring a winner will automatically remove any cards in player's hands
     and upon the table. It prepares the game for the next round. It prepares
     the table for the next round. You should utilise this whenever possible.
   - Declaring a PLAYER as the winner means that they win any gold in the pot.
   - If NONE is used then every player at the table receives their Current
     Bet back.
   - A SPLIT pot is functional only in Poker games. Using SHOW CARDS ALL if
     multiple winners are declared, the table will mark players has winning
     the pot and the dealer will be forced to use WINNER SPLIT in order to
     reward these players.

CARDTABLE SHOW CARDS <player|ALL>
   - Once the cards are handed out, the dealer will need to work out who
     will win a particular round. Using SHOW CARDS, the dealer is able to
     display the cards to the entire room.
   - Using the ALL option allows the dealer to show the cards of all players
     at the same time.
     In Poker Games this will also declare the winner of the round.