Poker deck code
From FiranMUX
Contents |
Rules of Hold'em Poker
Poker deck commands
- join poker game
- unjoin poker game
- pokerwatch on/off
- lets you see the action in the game even if you're not playing
- chips
- see who's at the table, their status, bets, and chips
- mycards
- look at your cards
- deal
- begin a hand
- call, check, fold, all in
- betting commands
- checkfold
- will check if possible, otherwise fold
- raise X
- calls current bet and raises X more
- raise/minimum
- calls current bet and makes the minimum raise (i.e. the big blind amount)
- raise/amount X
- makes the amount to call X chips (must be an amount at least the current amount to call + the minimum raise)
- pq X
- (aka poker queue) will queue the command X and automatically have you do it when the action next comes to you. Valid uses are:
- pq call
- pq check
- pq fold
- pq all in
- pq checkfold
- pq raise X
- pq raise/minimum
- pq raise/amount X
- pq clear (this will clear out an earlier pq)
- (aka poker queue) will queue the command X and automatically have you do it when the action next comes to you. Valid uses are:
- handread X
- you try to see through another player X's poker face and guess what cards they are holding
- handreview
- review the hand reads you've made for the round
- forcefold
- forces idle players to fold after 60 seconds. Use once to notify, twice to confirm after a 10 second delay
- forceunjoin X
- allows you to force missing or disconnected players to unjoin the poker game
Temporary commands
- set the small blind to X
- Will set the small blinds to X and the big blind to double it. Will make a big emit. Will not check to see that you aren't doing it in the middle of a hand, so don't.
- set the starting bank to X
- Sets the amount of chips a new person starts with to X.
- RESET THE ENTIRE POKER GAME I MEAN IT
- Clears out everything. Use only in case of code emergency or if you need to clear out a long-since abandoned game to start a new one.
Firan-specific mechanics
Luck
Your luck score will slightly influence your chances of getting good hole cards or drawing to a good hand. Each player per hand will draw 'lots' numbered 1 to 25 (no duplicates), and add their luck score. Highest totals will be rewarded with the best cards if they play that hand out.
Handreading
Dice pool: Handreader's gaming skill + one of intuition, perception, and attention selected randomly.
Difficulty: 5 + maximum of target's willpower or gaming skill
- -1 if you notice the target has already tried to handread you
Handreader makes a stealth skill roll at 9. Positive results mean they are not seen trying to read, and they do not give the target the counterread difficulty bonus.
Results:
- -1 or lower: botched read, randomly assigns something not close to the actual read.
- 0: failed read, no information given.
- 1: partial success, randomly assigns something close to the actual read.
- 2+: full success, returns actual read.
Reads work by assigning each hole card a score.
- Ace = 8 points
- King = 6 points
- Queen = 5 points
- Jack = 4 points
- 10 = 3 points
- 9 = 2 points
- 8 = 1 point
- Suited cards = 3 points
- Connected cards = 2 points
- Paired cards = 8 points
The best hole card score is 24 (aces paired), the worst is 0 (7-2 offsuit, among others).
Read descriptions work by a more general classification of hold cards.
- A = ace
- B = high card (J, Q, K)
- C = mid card (10, 9, 8)
- D = low card (2 through 7)
These are then sorted by high-low into the following classes:
- AA = aces
- AB = ace and high
- If the B is a king, however, it will = Ace king.
- AC = ace and mid
- AD = ace
- B? = high
- C? = mid
- D? = low
Examples of full successful reads:
- Jh 10h = "high suited connected"
- 7c 2s = "low"
- 9c 9d = "mid paired"
- Ah 3h = "ace suited"
- Ac 10d = "ace and mid"
Poker deck feature requests
- raise/pot
- poker/help
- adding 'mycards' to 'table' if you've looked - done
- Showing current best hand you have
Poker deck outstanding bugs
- Check muck logic for not-mucking if best hand is all-in with lowest chips and 2 other hands have side pots
- Everybody has a straight bug?
